diff options
author | Pawel Terlecki <pawel.terlecki@mongodb.com> | 2019-02-01 18:43:03 -0500 |
---|---|---|
committer | Pawel Terlecki <pawel.terlecki@mongodb.com> | 2019-02-04 12:12:18 -0500 |
commit | bd6d9a07a669891f18d0fb6a0f9b1535a6f13524 (patch) | |
tree | 0aa2e637f688584edf5d38536135c9ceddcf81b7 /src/mongo/db/query/plan_executor_impl.h | |
parent | 2d242bb2fd988496cbbe01ad17304778b441319a (diff) | |
download | mongo-bd6d9a07a669891f18d0fb6a0f9b1535a6f13524.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/query/plan_executor_impl.h')
-rw-r--r-- | src/mongo/db/query/plan_executor_impl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/query/plan_executor_impl.h b/src/mongo/db/query/plan_executor_impl.h index 1fc8e52f94d..7688a3cdba3 100644 --- a/src/mongo/db/query/plan_executor_impl.h +++ b/src/mongo/db/query/plan_executor_impl.h @@ -133,9 +133,9 @@ private: /** * Yields locks and waits for inserts to the collection. Returns ADVANCED if there has been an - * insertion and there may be new results. Returns DEAD if the PlanExecutor was killed during a - * yield. This method is only to be used for tailable and awaitData cursors, so rather than - * returning DEAD if the operation has exceeded its time limit, we return IS_EOF to preserve + * insertion and there may be new results. Returns FAILURE if the PlanExecutor was killed during + * a yield. This method is only to be used for tailable and awaitData cursors, so rather than + * returning FAILURE if the operation has exceeded its time limit, we return IS_EOF to preserve * this PlanExecutor for future use. * * If an error is encountered and 'errorObj' is provided, it is populated with an object |