Retry connecting to shut down primary until failure in shutdown_primary.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.12, 3.4.2, 3.5.2
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Repl 2017-01-23
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently there is a race condition at the end of shutdown_primary.js. In a parallel shell, the primary node is issued a shutdown command, which causes the shell to exit with a network error during the shutdown process. Sometimes the error is thrown early enough that the primary can still be connected to, causing the test to fail.

      To account for this uncertainty, the test should retry connecting to the shutting down primary until it throws an error as expected (or times out, in which case the test would fail).

              Assignee:
              Jack Mulrow
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: