-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 5.1.0, 5.0.0-rc6
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v5.0
-
Sharding EMEA 2021-07-12
-
166
The critical section acquired in drop database must be cleared out on stepdown to avoid leaving the node in an inconsistent state.
In order to do that, it's possible to simply use a scoped critical section that lives as long as the coordinator is instantiated and exists the critical section on destruction.