summaryrefslogtreecommitdiff
path: root/src/mongo/db/server_options.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-03-08 13:26:45 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-06 23:17:35 +0000
commit26cf6ae414662bc2e5af79c0c7cf4601849acbab (patch)
tree308ae6603f0d19e2cf02f6b07a3ca4dcb4fcebef /src/mongo/db/server_options.h
parentec89b5d683680993f629d143992281b6c8ae521d (diff)
downloadmongo-26cf6ae414662bc2e5af79c0c7cf4601849acbab.tar.gz
SERVER-46563 use pipe instead of SIGUSR2 for interfork comms
(cherry picked from commit 1ed541a15b22e3aea71e5c1efed421353762aa20)
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r--src/mongo/db/server_options.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h
index ac1b6e3c1d8..a61dd2dd55c 100644
--- a/src/mongo/db/server_options.h
+++ b/src/mongo/db/server_options.h
@@ -104,8 +104,7 @@ struct ServerGlobalParams {
int syslogFacility; // Facility used when appending messages to the syslog.
#ifndef _WIN32
- ProcessId parentProc; // --fork pid of initial process
- ProcessId leaderProc; // --fork pid of leader process
+ int forkReadyFd = -1; // for `--fork`. Write to it and close it when daemon service is up.
#endif
/**