Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Sharding
-
ALL
Description
The mongos clean shutdown sequence blocks waiting for all currently held distributed locks to be freed in order to proceed with the shutdown. This means that if the balancer takes long time to complete the round it would block shutdown.
For this reason the balancer should be checking whether shutdown has been requested after each chunk has been migrated instead of once for the entire round.