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

Track the first commit timestamp for each transaction

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.11, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage 2017-08-21

      A transaction's commit_timestamp can be set both by WT_SESSION::timestamp_transaction and by WT_SESSION::commit_transaction. In rare cases (such as when applying updates on a secondary), the commit timestamp can change multiple times in a transaction's lifetime.

      We have an interface to query a timestamp earlier than any running transaction. This query should only apply to the first (and earliest) commit_timestamp set for any transaction. In other words, we must track the first supplied timestamp and keep it immutable until the transaction completes.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: