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

Restart secondary without options in shard_aware_init_secondaries.js

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

      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@mongodb.com Janna Golden
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: