mongo::ntservice::initService needs consume a return code from _serviceCallback and return it to the NT SCM. This way the SCM will know to restart mongod/mongos on failure instead of mongod/s always returning a 0 return code.
- is duplicated by
-
SERVER-13790 Auto-repair operation after an Unexpected Shutdown
- Closed
-
SERVER-17295 On Windows, service recovery actions don't work is mongoS fails to initialize
- Closed