-
Type: Bug
-
Resolution: Incomplete
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Internal Code
-
Labels:None
-
Service Arch
-
ALL
-
-
(copied to CRM)
If the parent process goes away before the child has a chance to complete initialization, the mongod process will shut down when it tries to send signal USR2 to the parent, indicating that startup is complete. (function signalForkSuccess()).
It also dies with an unfriendly message:
2016-10-05T09:22:25.215+0000 I - [initandlisten] Assertion failure kill(serverGlobalParams.leaderProc.toNative(), 12) == 0 src/mongo/db/initialize_server_global_state.cpp 95
I see no reason to crash if the parent process is missing. Instead, I think we should just log a warning and continue starting up.