diff options
author | Reo Kimura <reo.kimura@mongodb.com> | 2020-07-22 03:03:43 +0000 |
---|---|---|
committer | Reo Kimura <reo.kimura@mongodb.com> | 2020-08-07 18:51:05 +0000 |
commit | 120b213146dc93d8777371650d082dd15b1a1c0b (patch) | |
tree | e9c961f52fc308429d188bbb5e61dffbd01d1e21 /src/mongo/s/mongos_main.cpp | |
parent | 9238911d0a46f26419ecdbec4293457b9e1a891d (diff) | |
download | mongo-120b213146dc93d8777371650d082dd15b1a1c0b.tar.gz |
SERVER-49072 Created SE decorations, rewrote SEPI start/shutdown of SEsserver-49072
Diffstat (limited to 'src/mongo/s/mongos_main.cpp')
-rw-r--r-- | src/mongo/s/mongos_main.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mongo/s/mongos_main.cpp b/src/mongo/s/mongos_main.cpp index 92ea2adc996..cb750bcc9e7 100644 --- a/src/mongo/s/mongos_main.cpp +++ b/src/mongo/s/mongos_main.cpp @@ -371,16 +371,6 @@ void cleanupTask(const ShutdownTaskArgs& shutdownArgs) { } } - // Shutdown and wait for the service executor to exit - if (auto svcExec = serviceContext->getServiceExecutor()) { - Status status = svcExec->shutdown(Seconds(5)); - if (!status.isOK()) { - LOGV2_OPTIONS(22845, - {LogComponent::kNetwork}, - "Service executor did not shutdown within the time limit", - "error"_attr = status); - } - } #endif // Shutdown Full-Time Data Capture @@ -788,15 +778,6 @@ ExitCode runMongosServer(ServiceContext* serviceContext) { std::make_unique<SessionsCollectionSharded>(), RouterSessionCatalog::reapSessionsOlderThan)); - status = serviceContext->getServiceExecutor()->start(); - if (!status.isOK()) { - LOGV2_ERROR(22859, - "Error starting service executor: {error}", - "Error starting service executor", - "error"_attr = redact(status)); - return EXIT_NET_ERROR; - } - status = serviceContext->getServiceEntryPoint()->start(); if (!status.isOK()) { LOGV2_ERROR(22860, |