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

Add query API to get most recent checkpoint's stable timestamp

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.4, 3.7.4, WT3.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Storage Non-NYC 2018-03-12, Storage Non-NYC 2018-03-26

      Talking with daniel.gottlieb, there are some debugging-related use cases where it would be helpful if MongoDB could query WiredTiger to know the stable timestamp where the most recent checkpoint was taken. In many ways, it is just a live version of the recovery_timestamp recently added.

      I suggest query_timestamp=last_checkpoint. We can store a read-only value in the global transaction table of the same value we're storing in the table's metadata under checkpoint_timestamp similar to txn_global.recovery_timestamp.

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            0 Vote for this issue
            3 Start watching this issue