diff options
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/client/fetcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/fetcher.cpp b/src/mongo/client/fetcher.cpp index a1cf58dbb22..4f6e831a501 100644 --- a/src/mongo/client/fetcher.cpp +++ b/src/mongo/client/fetcher.cpp @@ -295,7 +295,7 @@ void Fetcher::_callback(const RemoteCommandCallbackArgs& rcbd, const char* batch inShutdown = _inShutdown; } if (inShutdown) { - _work(Status(ErrorCodes::CallbackCanceled, "fetcher shutting down"), nullptr, nullptr); + _work(Status(ErrorCodes::ShutdownInProgress, "fetcher shutting down"), nullptr, nullptr); _finishCallback(); return; } |