[SERVER-44444] Add cpp test to make sure BalancerPolicy::balance won't try to use usedShards Created: 05/Nov/19 Updated: 06/Dec/22 Resolved: 26/Nov/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Trivial - P5 |
| Reporter: | Randolph Tan | Assignee: | [DO NOT USE] Backlog - Sharding Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Sharding
|
| Participants: |
| Description |
|
https://github.com/mongodb/mongo/blob/r4.3.0/src/mongo/db/s/balancer/balancer_policy.cpp#L377 |
| Comments |
| Comment by Kaloian Manassiev [ 26/Nov/19 ] |
|
There is already a test for this. |