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

Initial sync should clone admin.system.version before any other collections

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.2.0, 5.1.2, 5.0.6
    • None
    • Fully Compatible
    • ALL
    • v5.1, v5.0
    • Replication 2021-11-29
    • 119

    Description

      Collections cloned and indexes built before the admin.system.version collection will default to the lower FCV behavior because it will not have been initialized yet. See SERVER-48054 for a concrete example of how this introduces a bug.

      This has the potential to further introduce problems. Collection and index formats have the potential to be based on the FCV. We want to be able to assume our data is in a particular format if the FCV is set to a specific version, and at the moment that is not possible.

      To be safe and to avoid future bugs, we should clone this collection first.

      Attachments

        Issue Links

          Activity

            People

              jason.chan@mongodb.com Jason Chan
              louis.williams@mongodb.com Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: