-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.9.0
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v5.0
-
Sharding 2021-04-05, Sharding EMEA 2021-05-03, Sharding EMEA 2021-05-17, Sharding EMEA 2021-05-31, Sharding EMEA 2021-06-14, Sharding EMEA 2021-06-28
-
127
During scheduling a migration, we attempt to acquire the local distlock for the namespace. This acquisition isn't exception-safe – in particular, in can throw LockBusy.
We don't attempt to catch this exception (unlike in the next dist-lock acquisition, where we check the status then just return).
As a result of this uncaught exception, the balancer thread will crash, terminating the whole process.
- is caused by
-
SERVER-53118 Make DistLock resilient to step downs on shards
- Closed