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

Add timestamp and transaction management to the test framework

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage - Ra 2021-03-22

      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.

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

              Created:
              Updated:
              Resolved: