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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
      None

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: