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

Simplify test/format timestamp handling.

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: