Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81032

Fix checkpoint detection while opening a backup cursor

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0, 7.1.0-rc3
    • Affects Version/s: 7.2.0-rc0, 7.1.0-rc2
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.1, v7.0
    • Execution NAMR Team 2023-09-18
    • 148

      Checkpointing does a bunch of work between committing the checkpoint to all the files and updating the last_checkpoint timestamp so it's not atomic. The solution is to use WT_CURSOR::checkpoint_id introduced in WT-9208 to guard that a checkpoint didn't occur during this setup code instead of relying on getLastStableRecoveryTimestamp. Instead we'd open a checkpoint cursor at the beginning and another at the end to compare the checkpoint IDs.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: