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

Extend ESE backup tests to use $extendBackupCursor

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.4, 4.3.5
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2
    • Sprint:
      Execution Team 2020-03-09

      Description

      We should create a full integration test of hot backups with ESE enabled, specifically testing that no KeyStore files are copied in $backupCursorExtend.

       
      If a new database is created and a document is inserted into a collection while the $backupCursor is open, then when we open $backupCursorExtend with the operation time of the document insertion, we will not have to copy the KeyStore data for the new database. Instead, these operations will be stored in the oplog and will be replayed when starting up a node on the copied data files. The reason they are stored in the oplog is that these new operations are behind the 'checkpointTimestamp' returned from $backupCursor. During oplog recovery, the database will be assigned a new key in the KeyStore when its creation is replayed.

        Attachments

          Activity

            People

            Assignee:
            gregory.wlodarek Gregory Wlodarek
            Reporter:
            gregory.wlodarek Gregory Wlodarek
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: