diff options
author | Benety Goh <benety@mongodb.com> | 2016-07-19 16:35:28 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-07-19 16:35:28 -0400 |
commit | 4d00c7cd182a2a31ae36bba10bb5b23f541e7ca2 (patch) | |
tree | f833c7e85157d288013c8148e19e0fa8256685f3 /src/mongo/client/fetcher.cpp | |
parent | aebca7a60e08eadc893b76ceca69a3fe94827e73 (diff) | |
download | mongo-4d00c7cd182a2a31ae36bba10bb5b23f541e7ca2.tar.gz |
Revert "SERVER-25148 Fetcher should deliver CallbackCanceled instead of ShutdownInProgress to callbacks on cancellation"
This reverts commit f9269cb5755bf40c458af5891409cca7187c272e.
Diffstat (limited to 'src/mongo/client/fetcher.cpp')
-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; } |