-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Fully Compatible
Currently if a chunk spans over more than 250,000 documents it will be considered 'jumbo' and the balancer will refuse to move it until it is split into smaller chunks. In the case of bad shard key selection where the key cardinality is too high, jumbo chunks may arise which cannot be split because the entire chunk consists of the same shard key value.
The hardcoded 250,000 documents limit was included as a precaution against such large chunks taking too long to migrate and causing the donor shard to run out of memory because of accumulation of 'mods'.
In order to allow users in emergency situations to move jumbo chunks out of shards we should allow this limit to be temporarily increased. If we do this, we should also put a cap on the size of accumulated in-memory mods.
- is related to
-
SERVER-19919 Chunks that exceed 250000 docs but are under half chunk size get marked as jumbo
- Closed