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-03-16 20:16:40 +0000
commit1ed541a15b22e3aea71e5c1efed421353762aa20 (patch)
tree24587299b6270ba317c807aa0ab03ee61ab41ad4 /src/mongo/db/server_options.h
parentce57a85479032380593268db65dfc9441c65cd9a (diff)
downloadmongo-1ed541a15b22e3aea71e5c1efed421353762aa20.tar.gz
SERVER-46563 use pipe instead of SIGUSR2 for interfork comms
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
/**