Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
3.4.0-rc3
-
None
-
Fully Compatible
-
ALL
-
v3.4
-
Repl 2016-11-21
-
0
Description
While the collection cloner is inserting a single batch of documents into the database in _insertDocuments (before it reaches point where it calls into the collection bulk loader), the getMore command on the sync source may return a failure (for example, collection gets dropped) which terminates the collection cloner by way of the _finishCallback function. _finishCallback destroys the collection bulk loader which maybe trigger an invariant in _insertDocuments running a separate thread.