diff options
Diffstat (limited to 'src/mongo/db/s/collection_range_deleter.cpp')
-rw-r--r-- | src/mongo/db/s/collection_range_deleter.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mongo/db/s/collection_range_deleter.cpp b/src/mongo/db/s/collection_range_deleter.cpp index 4ba855355e8..42d9e5cca23 100644 --- a/src/mongo/db/s/collection_range_deleter.cpp +++ b/src/mongo/db/s/collection_range_deleter.cpp @@ -420,11 +420,10 @@ StatusWith<int> CollectionRangeDeleter::_doDeletion(OperationContext* opCtx, break; } - if (state == PlanExecutor::FAILURE || state == PlanExecutor::DEAD) { + if (state == PlanExecutor::FAILURE) { warning() << PlanExecutor::statestr(state) << " - cursor error while trying to delete " - << redact(min) << " to " << redact(max) << " in " << nss << ": " - << redact(WorkingSetCommon::toStatusString(deletedObj)) - << ", stats: " << Explain::getWinningPlanStats(exec.get()); + << redact(min) << " to " << redact(max) << " in " << nss + << ": FAILURE, stats: " << Explain::getWinningPlanStats(exec.get()); break; } |