-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Replication
If the collection doesn't exist for an operation we need to apply in SyncTail, SyncTail will take the locks to create the collection here. For update operations, the collection will be implicitly created, for insert operations, a NamespaceNotFound error will be returned, added in SERVER-17634. Update operations should return a similar error and we should revisit if we want to take the locks on the collection in SyncTail at all.
- is related to
-
SERVER-27164 Deadlock during oplog application when implicitly creating multiple collections on the same DB
- Closed
-
SERVER-21700 Do not relax constraints during steady state replication
- Closed
-
SERVER-17634 do not apply replicated insert operations on missing collections
- Closed
- related to
-
SERVER-27834 Index builds during initial sync should not implicitly create collections
- Closed