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

Remove unnecessary sleep when MongoRunner kills mongod node with SIGKILL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.1 Desired
    • Component/s: Shell
    • Labels:
      None

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: