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

Restart secondary without options in shard_aware_init_secondaries.js

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.2
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2019-12-02
    • Linked BF Score:
      49

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: