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

ntservice should not have to fake out exitCleanly() to achieve its ends

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • None
    • Internal Code
    • None
    • Windows

    Description

      The implementation of shutting down mongod when it is installed as an ntservice requires some clever faking out of the exitCleanly/dbexit logic, allowing those functions to sometimes return (based on the supplied exit code).

      A future design should separate the logic of "do the cleanup required for shutdown" from "terminate the current process", so that the ntservice module can implement the last step separately from the route taken by exitCleanly().

      Attachments

        Issue Links

          Activity

            People

              geert.bosch@mongodb.com Geert Bosch
              schwerin@mongodb.com Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: