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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0, 4.2.13, 4.4.5
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.4, v4.2
    • Sprint:
      Repl 2021-02-08, Repl 2021-02-22
    • Linked BF Score:
      11

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            ali.mir Ali Mir
            Reporter:
            ali.mir Ali Mir
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: