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

    XMLWordPrintable

    Details

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

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: