-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
-
CAR Team 2024-02-05
The crud_and_ddl test is calling transitionToDedicatedConfigServer once and then asserting that none of the sharded data has moved. Adding a sleep after the call to transitionToDedicated will cause the test to fail because in some of the test cases, the balancer succeeds in draining some of the sharded data before the checks in that case.
The test should either
- Have the balancer on, call transitionToDedicated until it returns success (like removeShard), and assert that the sharded data has moved
- Manually move the data, call transitionToDedicated until it returns success, and assert that the sharded data has moved
- Ensure that the balancer is off, call transitionToDedicated, check that the transitionToDedicated has not succeeded due to sharded data on the "config" shard, and assert that the sharded data has not moved
- is related to
-
SERVER-81461 Change tests that uses movePrimary to move data to use moveCollection
- Closed