Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7275

Add timestamp and transaction management to the test framework

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.0, 4.9.0, 4.4.5
    • Component/s: None
    • Labels:
      None

      Description

      Extend the timestamp_manager component to:

      1. Provide a central timestamp management system for all other components.
        1. Get_stable: returns current stable timestamp
        2. Get_oldest: returns current oldest timestamp
        3. Get_next_ts: returns a valid commit timestamp (latest timestamp) for insert / updating / deleting values.
      2. When the timestamp manager is enabled, update the oldest and stable timestamps every X seconds based on configuration.

      The timestamps will be on 64 bits. The first 32 bits will represent the epoch time in seconds and the last 32 bits will be an increment for uniqueness.

      Introduction of new configuration parameters:

      • min_operation_per_transaction : Minimum of operations to be done within one transaction
      • max_operation_per_transaction: Maximum of operation to be done within on transaction
        • Those are useful to generate a random number of operations to be executed within one transaction.
      • enable_timestamp: To enable/disable the timestamp manager. If the timestamp manager is disabled, the stable and oldest timestamps are not updated every X seconds
      • oldest_lag: It is the time window between the stable and oldest timestamps
      • stable_lag: It is the time window between the latest and stable timestamps.

        Attachments

          Activity

            People

            Assignee:
            etienne.petrel Etienne Petrel
            Reporter:
            luke.pearson Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: