summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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",