-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Tools 13 (04/22/16)
-
v3.2
To repro, setup a database, test with three collections (each containing about ~150K documents). Next dump the database to an archive:
mongodump --numThreads 1 -d fullblackbox --archive=blackbox.bson
Now attempt to restore:
mongorestore --archive=blackbox.bson -j 3
Note that the deadlock event depends on the number of different collections referenced by contiguously interleaved documents in the archive. In this particular example, if that number is greater than 1, a deadlock occurs (just a hypothesis, I haven't verified this). For reference, I've attached a sample blackbox.bson created using the mongodump command above that triggers the deadlock.