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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.1, 3.7.1
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Storage 2017-12-04
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: