[SERVER-66827] Balancer may skip a round if last randomly selected collection has balancing disabled Created: 27/May/22  Updated: 29/Oct/23  Resolved: 27/May/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.3, 6.1.0-rc0

Type: Bug 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:
Backports
Depends
Problem/Incident
is caused by SERVER-65816 Change balancer policy to balance on ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-30
Participants:
Linked BF Score: 57

 Description   

The balancer is shuffling the list of existing sharded collections and then iterating over it by filling/processing batches.

If the last collection has balancing disabled, the loop is stopped without processing the last batch.



 Comments   
Comment by Githook User [ 14/Oct/22 ]

Author:

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

Message: SERVER-66827 Balancer must not skip round if a collection has balacing disabled
Branch: v6.0
https://github.com/mongodb/mongo/commit/0789147467ea016f9dd96794eeae27eff94545f9

Comment by Githook User [ 27/May/22 ]

Author:

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

Message: SERVER-66827 Balancer must not skip round if a collection has balacing disabled
Branch: master
https://github.com/mongodb/mongo/commit/ac297836aede311622e60ee502dda7ac6bb344fc

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