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

Remove unnecessary sleep when MongoRunner kills mongod node with SIGKILL

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Shell
    • None
    • Replication

    Description

      When MongoRunner shuts down a node with a SIGKILL signal it sleeps for 4 seconds before completing the shutdown. This sleep makes forceful shutdowns arbitrarily slow and can slow down JS tests that kill nodes. We should remove this sleep if it has no adverse impacts.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: