-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4, v4.2
-
Sharding 2020-12-14
-
0
This test executes several movePrimary commands. The problem appears when the CS primary node steps down during the execution of one of them: the movePrimary may continue its execution on the shards and once the new CS primary node is elected we may end up having two move primary commands being executed at the same time over the same database (the distributed lock is released once the CS primary node is elected).