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

call to ReplSetTest.restart in shard_identity_rollback.js is racy

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
    • Sharding 2018-08-13, Sharding 2018-08-27, Sharding 2019-09-23, Sharding 2019-10-07
    • 29

    Description

      The call to restart() waits to connect to the restarted node by default, but in this case the node is expected to crash after starting up, so the call to restart is racy and can fail if the node crashes before restart() is able to connect to it.

      The test should pass {waitForConnect: false} as the options object to this call to restart.

      Attachments

        Issue Links

          Activity

            People

              janna.golden@mongodb.com Janna Golden
              esha.maharishi@mongodb.com Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: