From 4d00c7cd182a2a31ae36bba10bb5b23f541e7ca2 Mon Sep 17 00:00:00 2001 From: Benety Goh Date: Tue, 19 Jul 2016 16:35:28 -0400 Subject: Revert "SERVER-25148 Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation" This reverts commit f9269cb5755bf40c458af5891409cca7187c272e. --- src/mongo/client/fetcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo') 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; } -- cgit v1.2.1