diff options
| author | Matt Cotter <matt.cotter@mongodb.com> | 2016-11-30 13:59:38 -0500 |
|---|---|---|
| committer | Matt Cotter <matt.cotter@mongodb.com> | 2016-12-05 11:03:11 -0500 |
| commit | fbef607eeaa7b8e9e945a5685846b68a65aeca1b (patch) | |
| tree | 6f07628044f7f2e9b3cabd5b9e38cfd6bb0cbbfc /src/mongo/s/server.cpp | |
| parent | 9b403d89bb81064a9d4813724d075c51b0121e97 (diff) | |
| download | mongo-fbef607eeaa7b8e9e945a5685846b68a65aeca1b.tar.gz | |
SERVER-27225 de-duplicate ForkServer symbol
Diffstat (limited to 'src/mongo/s/server.cpp')
| -rw-r--r-- | src/mongo/s/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp index 996db9c5eab..44569f4081a 100644 --- a/src/mongo/s/server.cpp +++ b/src/mongo/s/server.cpp @@ -333,11 +333,13 @@ static ExitCode runMongosServer() { return waitForShutdown(); } +namespace { MONGO_INITIALIZER_GENERAL(ForkServer, ("EndStartupOptionHandling"), ("default")) (InitializerContext* context) { mongo::forkServerOrDie(); return Status::OK(); } +} // namespace // We set the featureCompatibilityVersion to 3.4 in the mongos so that BSON validation always uses // BSONVersion::kLatest. |
