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

UUIDs should be added to local collections for replica sets only on clean startup

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.1, 3.7.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v3.6
    • Storage 2017-12-04
    • 0

      Presently, we add UUIDs to non-replicated collections as part of ReplicationCoordinatorExternalStateImpl::initializeReplSetStorage. However, adding UUIDs is only necessary for replica sets started with no data files. The UUID generation should be moved to FeatureCompatibilityVersion::setIfCleanStartup.

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: