[SERVER-74872] Auto-merger must keep on issuing requests as long as there are mergeable chunks Created: 15/Mar/23  Updated: 29/Oct/23  Resolved: 17/Mar/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-78052 Properly handle conflict between bala... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-20
Participants:

 Description   

Currently the auto-merger is issuing only one action per <shard,nss> by popping the collection from the map right after creating an action.

Since SERVER-74405 introduced a limit of 1000 chunks to merge when serving requests issued by the auto-merger, the policy must keep on returning actions as long as there are chunks to merge.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-74872 Auto-merger must keep on issuing requests as long as there are mergeable chunks
Branch: master
https://github.com/mongodb/mongo/commit/f1d4c53bf159092b213c988f555e4e123932ef6b

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