[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:
Backports
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 SERVER-62698), introducing some latency to concurrent CRUD operations.

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: SERVER-65649 Throttle merge/split chunk ops issued by the balancer

(cherry picked from commit 91c4696df9e3fb1890cc51cef77d29ac7cbeec81)
Branch: v6.0
https://github.com/mongodb/mongo/commit/5e73659a3ce2b81cba05642b9913a0b7439465b7

Comment by Githook User [ 28/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-65649 Throttle merge/split chunk ops issued by the balancer
Branch: master
https://github.com/mongodb/mongo/commit/91c4696df9e3fb1890cc51cef77d29ac7cbeec81

Generated at Thu Feb 08 06:03:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.