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

Validate live restore state when a backup is taken

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • Storage Engines
    • 5
    • StorEng - Defined Pipeline

      When a backup is taken on a database we should check that the database being backed up is not in the middle of a live restore. If it is the files contains holes and are missing data.

      This ticket has two components:

      1) Add a validity check that backup will fail when taking a backup of a directory that is in the process of being live restored. To do this we can check for stop files or for a state file that is not in the WTI_LIVE_RESTORE_STATE_COMPLETE state

      2) If there is a WiredTigerLR.state file in the COMPLETE state (and no other stop files exist) Backup should delete this file before taking a snapshot.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: