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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0, 4.2.13, 4.4.5
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4, v4.2
    • Repl 2021-02-08, Repl 2021-02-22
    • 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

            ali.mir@mongodb.com Ali Mir
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: