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

shard_identity_rollback.js has unreliable check for node crash

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • ALL
    • Repl 2020-02-24
    • 8

      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.

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

              Created:
              Updated:
              Resolved: