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

Track the first commit timestamp for each transaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.11, WT3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              michael.cahill Michael Cahill
              Reporter:
              michael.cahill Michael Cahill
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: