Restart secondary without options in shard_aware_init_secondaries.js

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding 2019-12-02
    • 49
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      jstests/sharding/shard_aware_init_secondaries.js restarts a shard secondary to verify it initializes its sharding state. It does this by passing the secondary's options to ReplSetTest.restart(). These options include binVersion, so this restart fails in the sharding_multiversion suite because "TestData. useRandomBinVersionsWithinReplicaSet" is set to true, failing this assertion.

      Instead, if no options are given to ReplSetTest.restart(), the node will be restarted using its original startup options and a random binVersion, allowing us to not blacklist the test from multiversion suites.

              Assignee:
              Janna Golden
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: