summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2020-06-23 19:40:12 -0400
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2020-06-24 17:55:22 -0400
commit93c667ac306c9af4b4a9c2d963c1aa3ead69b28e (patch)
tree36bab6120ad760f365202087604c722d4619b8e7
parentcfd8b754618b14ec90d1c8196e78e6928fcee707 (diff)
downloadmongo-93c667ac306c9af4b4a9c2d963c1aa3ead69b28e.tar.gz
SERVER-49045 Remove invariant from establishCursors cleanup code
(cherry picked from commit 98135d9d77cfcfac40f8c0604d7f846417c88c40)
-rw-r--r--src/mongo/s/query/establish_cursors.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/query/establish_cursors.cpp b/src/mongo/s/query/establish_cursors.cpp
index 18e78048193..f727a38eef6 100644
--- a/src/mongo/s/query/establish_cursors.cpp
+++ b/src/mongo/s/query/establish_cursors.cpp
@@ -241,8 +241,6 @@ std::vector<RemoteCursor> establishCursors(OperationContext* opCtx,
opKey{std::move(opKey)}](
const executor::TaskExecutor::CallbackArgs& args) {
if (!args.status.isOK()) {
- invariant(0);
- uasserted(ErrorCodes::CallbackCanceled, "YOOO");
LOGV2_WARNING(48038,
"Failed to schedule remote cursor cleanup: {error}",
"Failed to schedule remote cursor cleanup",