[SERVER-27205] Remove implicit collection creation from SyncTail Created: 29/Nov/16  Updated: 06/Dec/22  Resolved: 13/Feb/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Backlog - Replication Team
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-27834 Index builds during initial sync shou... Closed
is related to SERVER-27164 Deadlock during oplog application whe... Closed
is related to SERVER-21700 Do not relax constraints during stead... Closed
is related to SERVER-17634 do not apply replicated insert operat... Closed
Assigned Teams:
Replication
Participants:

 Description   

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.



 Comments   
Comment by Matthew Russotto [ 13/Feb/20 ]

As best I can tell, this was actually obsoleted by SERVER-30220

Comment by Judah Schvimer [ 12/Feb/20 ]

matthew.russotto, is there still work to do here after SERVER-21700?

Generated at Thu Feb 08 04:14:27 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.