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

call to ReplSetTest.restart in shard_identity_rollback.js is racy

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      Sharding 2018-08-13, Sharding 2018-08-27, Sharding 2019-09-23, Sharding 2019-10-07
    • Linked BF Score:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: