Wait for node to start stepdown before killing shutdown operation in force_shutdown_primary.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0, 4.2.13, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2021-02-08, Repl 2021-02-22
    • 11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In force_shutdown_primary.js, we may kill the shutdown operation before we actually start attempting to step the primary down. As a result, the parallel shell can exit cleanly with an exit code of zero, when we expect it to have a nonzero code. We should add a failpoint right before stepdown, and wait for the primary to reach that failpoint before we attempt to kill the shutdown operation.

              Assignee:
              Ali Mir
              Reporter:
              Ali Mir
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: