[SERVER-66753] Change `BalancerPolicy::_getLeastLoadedReceiverShard` currentMin type Created: 25/May/22  Updated: 29/Oct/23  Resolved: 26/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: Kaloian Manassiev
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
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-05-30
Participants:

 Description   

While it was ok to track the minimum number of chunks in an int, with the passage to data size aware balancing the type must be changed to long long because the variable is now tracking the number of bytes contained in a collection.



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

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-66753 Use 64-bit integer in the balancer policy minSize counter
Branch: v6.0
https://github.com/mongodb/mongo/commit/194b488a8907de902747c73fc1e854c8e08df754

Comment by Githook User [ 26/May/22 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-66753 Use 64-bit integer in the balancer policy minSize counter
Branch: master
https://github.com/mongodb/mongo/commit/510f8c361697f3263628c47b7e4c3db70801f36e

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