[SERVER-46565] Extend ESE backup tests to use $extendBackupCursor Created: 03/Mar/20  Updated: 29/Oct/23  Resolved: 03/Mar/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.4, 4.3.5

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2020-03-09
Participants:

 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.



 Comments   
Comment by Githook User [ 03/Mar/20 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-46565 Extend ESE backup tests to use $extendBackupCursor

(cherry picked from commit 40c1c49bb39dbb60e73ffb974148e3b28a036220)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/1a1d59c3c1c24012e959b43da14b678aa4e618bf

Comment by Githook User [ 03/Mar/20 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-46565 Extend ESE backup tests to use $extendBackupCursor
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/40c1c49bb39dbb60e73ffb974148e3b28a036220

Generated at Thu Feb 08 05:11:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.