-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Environment:Windows
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().
- is depended on by
-
SERVER-5520 Shutdown rewrite (tracking ticket)
- Closed
- related to
-
SERVER-6771 Windows Service: 'net stop mongodb' gives System error 109 has occurred. -- The pipe has been ended.
- Closed