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.
UUIDs should be added to local collections for replica sets only on clean startup
- Assignee:
- Xiangyu Yao (Inactive)
- Reporter:
- Maria van Keulen
- Votes:
-
0 Vote for this issue
- Watchers:
-
6 Start watching this issue
- Created:
- Updated:
- Resolved: