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

documentation doesn't match rollback-to-stable behavior for global durable timestamp

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The documentation says:

      The durable_timestamp is not changed when the application calls the WT_CONNECTION::rollback_to_stable
      method, and should be reset by the application in that case.
      

      but there's this code in the txn/txn_rollback_to_stable.c:__rollback_to_stable() function:

          /* Rollback the global durable timestamp to the stable timestamp. */
          txn_global->has_durable_timestamp = txn_global->has_stable_timestamp;
          txn_global->durable_timestamp = txn_global->stable_timestamp;
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: