[SERVER-83580] Re-introduce balancer policy unittests with multiple chunks Created: 27/Nov/23  Updated: 13/Jan/24  Resolved: 14/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.0.4, 7.3.0-rc0, 7.2.0-rc1
Fix Version/s: 7.2.1, 7.3.0-rc0, 7.0.5

Type: Improvement Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-82365 Optimize the construction of the bala... Closed
Problem/Incident
is caused by SERVER-66782 Remove BalanceAccordingToDataSize fea... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.2, v7.0
Sprint: CAR Team 2023-12-11, CAR Team 2023-12-25
Participants:

 Description   

In SERVER-66782 we changed all the balancer policy unit tests to only have 1 chunk per shard and we removed some of the unit tests that use to rely on having multiple chunks.

This reduced considerably the coverage of these tests.

The goal of this ticket is to revert those changes and re-add the removed test cases.



 Comments   
Comment by Githook User [ 12/Jan/24 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-83580 Re-introduce balancer policy unittests with multiple chunks
Branch: v7.2
https://github.com/mongodb/mongo/commit/ee76004c67eff8529c0db3362fda587e87343ca9

Comment by Githook User [ 18/Dec/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-83580 Re-introduce balancer policy unittests with multiple chunks

GitOrigin-RevId: 371da1582ad99ed0f281ac28101dc5a7b2e13729
Branch: v7.0
https://github.com/mongodb/mongo/commit/78673fa0fef83b0798a6f80915b4da4ac4e08b98

Comment by Githook User [ 14/Dec/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-83580 Re-introduce balancer policy unittests with multiple chunks

GitOrigin-RevId: 71fc2aa9362d72aff9a255d69438a925696cbd9f
Branch: master
https://github.com/mongodb/mongo/commit/2b9a07af62a2c69bdd0811d33c0843b038ec5c1f

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