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

Simplify test/format timestamp handling.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.2, 4.1.2, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Non-NYC 2018-07-02, Storage Non-NYC 2018-07-16, Storage Engines 2018-07-30, Storage Engines 2018-08-13

      The current implementation of test/format tracks all active timestamps in order to be able to choose a legal read timestamp for operations. That tracking is complex, and with the addition of prepare support requires co-ordinating timestamp allocation via a lock.

      test/format could instead query WiredTiger via the WT_CONNECTION::query_timestamp() API to retrieve a legal read timestamp, and then it wouldn't need the complex co-ordination code.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: