[SERVER-63203] Chunk splitter never splits if more than 8192 split points are found Created: 02/Feb/22 Updated: 29/Oct/23 Resolved: 10/Feb/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 4.2.19, 4.4.13, 5.0.7, 5.2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Paolo Polato |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v5.2, v5.0, v4.4, v4.2
|
||||||||
| Sprint: | Sharding EMEA 2022-02-21 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 49 | ||||||||
| Description |
|
When splitting a chunk, if the shard keys are sufficiently small and the number of documents is really high, it may happen the following:
As a result, huge chunks will never be split, unless some smaller chunk is manually created. This problem can also impact shardCollection: when sharding an existing non-empty collection in presence of zones for such collection, the SingleChunkOnPrimarySplitPolicy is applied. There will only be one gigantic chunk on the primary shard that is then expected to be split by the chunk splitter. |
| Comments |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit d018b7e964dafa5085152af03916bde0ac74f947) |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 21/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |
| Comment by Githook User [ 16/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit d018b7e964dafa5085152af03916bde0ac74f947) |
| Comment by Githook User [ 10/Feb/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |