Pass the command's operation context to getNoThrow in order to interrupt the wait for migration to complete in case of stepdown. Change the following calls:
- https://github.com/mongodb/mongo/blob/218f4a72dcb54bb6f6b88354cda9296bce9fe606/src/mongo/db/s/balancer/balancer.cpp#L360-L361
- https://github.com/mongodb/mongo/blob/218f4a72dcb54bb6f6b88354cda9296bce9fe606/src/mongo/db/s/balancer/balancer.cpp#L390
- https://github.com/mongodb/mongo/blob/218f4a72dcb54bb6f6b88354cda9296bce9fe606/src/mongo/db/s/balancer/balancer.cpp#L427
- is related to
-
SERVER-67001 Make balancer wait interruptably for migration-related commands sent to shards
-
- Closed
-