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

Clean up local collections after File Copy Based Initial Sync does the copies

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Repl 2021-09-20, Repl 2021-10-04, Repl 2021-10-18

      "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.

            Assignee:
            ali.mir@mongodb.com Ali Mir
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: