summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/dbcommands.cpp
diff options
context:
space:
mode:
authorPawel Terlecki <pawel.terlecki@mongodb.com>2019-02-01 18:43:03 -0500
committerPawel Terlecki <pawel.terlecki@mongodb.com>2019-02-04 12:12:18 -0500
commitbd6d9a07a669891f18d0fb6a0f9b1535a6f13524 (patch)
tree0aa2e637f688584edf5d38536135c9ceddcf81b7 /src/mongo/db/commands/dbcommands.cpp
parent2d242bb2fd988496cbbe01ad17304778b441319a (diff)
downloadmongo-SERVER-38316.tar.gz
SERVER-38316 Consolidate PlanExecutor::DEAD and PlanExecutor::FAILURESERVER-38316
Takes care of PlanExecutor states. In some cases we log more information for former DEAD state scenarios now.
Diffstat (limited to 'src/mongo/db/commands/dbcommands.cpp')
-rw-r--r--src/mongo/db/commands/dbcommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp
index 2190cdc3910..6c8b86af81a 100644
--- a/src/mongo/db/commands/dbcommands.cpp
+++ b/src/mongo/db/commands/dbcommands.cpp
@@ -496,7 +496,7 @@ public:
}
}
- if (PlanExecutor::FAILURE == state || PlanExecutor::DEAD == state) {
+ if (PlanExecutor::FAILURE == state) {
warning() << "Internal error while reading " << ns;
uassertStatusOK(WorkingSetCommon::getMemberObjectStatus(obj).withContext(
"Executor error while reading during dataSize command"));