[SERVER-57827] Clean up local collections after File Copy Based Initial Sync does the copies Created: 17/Jun/21  Updated: 29/Oct/23  Resolved: 07/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Task Priority: Major - P3
Reporter: Matthew Russotto Assignee: Ali Mir
Resolution: Fixed Votes: 0
Labels: pm-1897-M2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to SERVER-59944 Reopen storage in temporary location. Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-09-20, Repl 2021-10-04, Repl 2021-10-18
Participants:

 Description   

"Clean up local collections" means these steps

  • Generate a new initialSyncId (this is intended to uniquely identify the node)
  • Replace the oplogTruncateAfterPoint document with the checkpointTimestamp from the latest backup cursor.
  • Replace the local.replset.config document with the current configuration.
  • Replace the minValid document with a document with Timestamp(0,1), t: -1.
  • Remove local.replset.election, as this node has not participated in any elections.


 Comments   
Comment by Githook User [ 07/Oct/21 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-57827 Clean up local collections after File Copy Based Initial Sync finishes copying files
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/e80cd027c978d37886096919785c601a0629b980

Comment by Githook User [ 07/Oct/21 ]

Author:

{'name': 'ali-mir', 'email': 'ali.mir@mongodb.com', 'username': 'ali-mir'}

Message: SERVER-57827 Allow putSingleton override in storage_interface_mock.h and maintain initial sync id in replication_consistency_markers_mock.h
Branch: master
https://github.com/mongodb/mongo/commit/2c98afa8b441f2917b9b019458805d5b7bd3f174

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