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

shard_identity_rollback.js has unreliable check for node crash

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • ALL
    • Repl 2020-02-24
    • 8

    Description

      In shard_identity_rollback.js, we check that a node crashes by checking that establishing a connection throws. However, this can also throw when connections are closed due to entering ROLLBACK. Instead, we should wait for a ping command on the node to fail and check for a non-zero exit code, like we do in this test.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: