-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Sharding
With the work done under SERVER-53468 it, the global chunk lock can potentially be held for long periods during upgrade/downgrade resulting in chunk operations slowing down or timing out on all collections.
As an optimization, consider if it would be better to introduce a more fine grained chunk locking mechanism (per collection). The idea is to synchronize the access to subsets of documents of config.chunks that contains the chunk entries for all namespaces.
- duplicates
-
SERVER-33326 Remove use of applyOps/doTxn from sharding chunk operations
- Closed