[SERVER-70973] Balancer should stop iterating collections when there are no more available shards Created: 31/Oct/22  Updated: 29/Oct/23  Resolved: 10/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.4, 6.2.0-rc0, 4.2.25, 5.0.19, 4.4.25

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: balancer-perf-improvement, balancer-round-perf
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
causes SERVER-78268 Remove shard slows down when there ar... Backlog
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.1, v6.0, v5.0, v4.4, v4.2
Sprint: Sharding EMEA 2022-11-14
Participants:

 Description   

Every shard can only participate in one migration at every balancer round.
Due to that, the balancer should stop iterating collections if there are no more available shards to be involved in a migration.



 Comments   
Comment by Githook User [ 11/Oct/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-70973 Balancer should stop iterating collections when there are no more available shards
Branch: v4.2
https://github.com/mongodb/mongo/commit/bc4498c369564411bde9423f02133d7c7b41501a

Comment by Githook User [ 12/Sep/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-70973 Balancer should stop iterating collections when there are no more available shards
Branch: v4.4
https://github.com/mongodb/mongo/commit/14e031df871fe60d76ff3c395feae5fbb0945882

Comment by Githook User [ 22/Jun/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-70973 Balancer should stop iterating collections when there are no more available shards
Branch: v5.0
https://github.com/mongodb/mongo/commit/0ac97c30a5afeaca483ec41258d1fbe248668b8c

Comment by Githook User [ 25/Nov/22 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-70973 Balancer should stop iterating collections when there are no more available shards
Branch: v6.0
https://github.com/mongodb/mongo/commit/a71e6f82149e19001ac75af9cb8bcbd3b35219ac

Comment by Githook User [ 09/Nov/22 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-70973 Balancer should stop iterating collections when there are no more available shards
Branch: master
https://github.com/mongodb/mongo/commit/b7bb32e209eaf2dd037cb86f55b687bd0d55f510

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