summaryrefslogtreecommitdiff
path: root/src/mongo/s/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/server.cpp')
-rw-r--r--src/mongo/s/server.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/s/server.cpp b/src/mongo/s/server.cpp
index af0147eb685..dfb2eb21aa7 100644
--- a/src/mongo/s/server.cpp
+++ b/src/mongo/s/server.cpp
@@ -318,7 +318,10 @@ static ExitCode runMongosServer() {
return EXIT_SHARDING_ERROR;
}
- Grid::get(opCtx.get())->getBalancerConfiguration()->refreshAndCheck(opCtx.get());
+ Grid::get(opCtx.get())
+ ->getBalancerConfiguration()
+ ->refreshAndCheck(opCtx.get())
+ .transitional_ignore();
}
Status status = getGlobalAuthorizationManager()->initialize(NULL);
@@ -344,7 +347,7 @@ static ExitCode runMongosServer() {
// Set up the periodic runner for background job execution
auto runner = makePeriodicRunner();
- runner->startup();
+ runner->startup().transitional_ignore();
getGlobalServiceContext()->setPeriodicRunner(std::move(runner));
// Set up the logical session cache