-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
After SERVER-81190 any implicit collection creation will happen within the CreateCollectonCoordinator.
This causes the shardsvrCreateCollection (and therefore the caller) to fail with "LockBusy" in case a concurrent operation is in progress.
Specifically for the movePrimary, a special error "movePrimaryInProgress" is thrown for this case by specific operation such as createIndex.
Insert, $out and "create" used to return movePrimaryInProgress and now return LockBusy.
The goal of this ticket is to investigate whether is ok to now return LockBusy or instead movePrimaryInProgress should be enforced for back-compatibility
- is caused by
-
SERVER-81190 Support tracking "simple" unsharded collections in the sharding catalog
- Closed