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

shard_identity_rollback.js has unreliable check for node crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Replication
    • Labels:
    • Operating System:
      ALL
    • Sprint:
      Repl 2020-02-24
    • Linked BF Score:
      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

          Issue Links

            Activity

              People

              Assignee:
              tess.avitabile Tess Avitabile
              Reporter:
              tess.avitabile Tess Avitabile
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: