-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Replication
-
(copied to CRM)
If the following sequence of events occurs:
- Node n in replica set is restarted as standalone
- User creates a replicated collection on n
- n rejoins the replica set
In this case, the collection created on n in standalone mode would have a different UUID compared to the rest of the replica set. As a result, any subsequent operations on that collection would lead to an fassert.
To help alleviate this, one idea is require an explicit UUID when creating this new collection, if the node is currently in standalone mode but was previously part of a replica set.
Alternatively, we can add warning logs when the node attempts to create replicated collections in standalone mode.
- is documented by
-
DOCS-14626 [SERVER] Creating a collection on standalone node that was part of a replica set may lead to fassert
- Closed