-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Replication
-
Repl 2019-07-29, Repl 2019-08-12
CollectionImpl::insertDocumentForBulkLoader perform oplog writes and this function is called only by CollectionBulkLoaderImpl::insertDocuments. CollectionBulkLoader is only used by initial sync collection cloner which should not perform oplog writes during collection writes. So, its good to remove the unsed oplog write code block to avoid confusion and add an invariant to check that oplog writes are disabled when insertDocumentForBulkLoader() is called.
- related to
-
SERVER-41530 For uncapped collections, CollectionBulkLoaderImpl::insertDocuments should batch the documents and commits the batch in a single WriteUnitOfWork
- Closed