Details
-
Bug
-
Resolution: Won't Fix
-
Minor - P4
-
None
-
3.1.2
-
None
Description
"Failed: restore error: jstests_tool_dumprestore_sharded.cappedColl: error creating collection jstests_tool_dumprestore_sharded.cappedColl: error running create command: Lock for createDatabase is taken."
|
When restoring multiple collections in parallel, each client will queue up on the distributed lock to create the database in the sharded cluster. The timeout was increased from 1 second to 5 seconds as part of SERVER-18504, but it would nice for the tools to still have retry logic for attempting to create the collection again, or alternatively create the collections using a single client and avoid this issue.
Attachments
Issue Links
- related to
-
SERVER-18504 "Lock for createDatabase is taken" triggered by mongorestore restoring multiple collections in parallel
-
- Closed
-