[SERVER-65649] Apply a 1-second throttling to the sequence of merge/split chunk commands issued by the Balancer Created: 14/Apr/22 Updated: 29/Oct/23 Resolved: 28/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc4, 6.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Paolo Polato |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v6.0
|
||||
| Sprint: | Sharding EMEA 2022-05-02 | ||||
| Participants: | |||||
| Description |
|
The collection defragmentation algorithm and the cluster chunks resize policy generate a continuous stream of mergeChunks and splitChunk commands issued by one of the balancer thread: each operation, when committed, triggers a refresh of the metadata caches on the secondary nodes of the affected shards (details in In order to limit the performance impact, the rate of mergeChunks and splitChunk requests needs to be throttled. |
| Comments |
| Comment by Githook User [ 03/May/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: (cherry picked from commit 91c4696df9e3fb1890cc51cef77d29ac7cbeec81) |
| Comment by Githook User [ 28/Apr/22 ] |
|
Author: {'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}Message: |