-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Sharding EMEA
-
Fully Compatible
-
v6.3
-
Sharding EMEA 2023-02-20
-
136
The resilient version of the movePrimary is enabled by default starting from version 7.0, and this guarantees the correctness of the cached database version on both donor and recipient shards
The random_DDL_operations.js FSM also runs in multiversion suites (specifically, concurrency_sharded_replication_last_continuous_new_old_old_new and concurrency_sharded_replication_last_lts_new_old_old_new), and this implies that the old and non-resilient version of the movePrimary could run.
The goal of this ticket is to restrict the execution of the movePrimary state to when the ResilientMovePrimary feature flag is enabled.