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

Clone admin.system.version first in initial sync, fail sync if FCV changes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2017-10-02

    Description

      We should fail initial sync if the featureCompatibilityVersion changes in the middle of it, to avoid potential data corruption due to mismatches in the use of UUIDs between the source and destination node. To do this, we should make sure that the very first collection we clone is admin.system.version, so that we know the FCV of the sync source at the beginning of initial sync. Then during initial sync oplog application, we should fail and restart initial sync if we replicate a change to the FCV.

      Attachments

        Issue Links

          Activity

            People

              judah.schvimer@mongodb.com Judah Schvimer
              spencer@mongodb.com Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: