-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Cluster Scalability
-
ALL
-
Cluster Scalability Priorities
-
0
-
1
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
The `balancerStop` command is supposed to cancel and join ongoing migrations (it's also required by the documentation), so it should be safe to assume that no migrations take place after the command returns. However, an interleave with a stepdown can result in the command returning successfully while still one migration is proceeding.
- A migration starts.
- A stepdown in the config server takes place.
- Tasks are interrupted, and among them ongoing migrations are cancelled.
- The command balancerStop is issued. There is no ongoing migration, there is nothing to join, so the command returns immediately.
- The interrupted migration in point 3 actually completes, despite being cancelled, and the commit happens after balancerStop has returned.
- is related to
-
SERVER-76343 modify stopBalancer to explicitly wait for the completion of outstanding migrations
-
- Closed
-