Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73890

Only run the resilient movePrimary in random_DDL_operations.js FSM

    • 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.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: