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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4, 3.7.4, WT3.1.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            sue.loverso Susan LoVerso
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: