summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/get_executor.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2016-04-07 15:47:40 -0400
committerMathias Stearn <mathias@10gen.com>2016-04-21 18:38:56 -0400
commitb95db102cadf57661e53ae6aa81c4ab9a1254a16 (patch)
treefa25089d5402a03d54a57f709658b64d80a27e30 /src/mongo/db/query/get_executor.h
parent5bb2f509c6f7c9d09db0da6af2d3d7737d7d520f (diff)
downloadmongo-b95db102cadf57661e53ae6aa81c4ab9a1254a16.tar.gz
SERVER-23551 $isolated writes should use WRITE_CONFLICT_RETRY_ONLY
Diffstat (limited to 'src/mongo/db/query/get_executor.h')
-rw-r--r--src/mongo/db/query/get_executor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/get_executor.h b/src/mongo/db/query/get_executor.h
index 34c8cf0f0e8..f96203b7fea 100644
--- a/src/mongo/db/query/get_executor.h
+++ b/src/mongo/db/query/get_executor.h
@@ -135,7 +135,7 @@ StatusWith<std::unique_ptr<PlanExecutor>> getExecutorCount(OperationContext* txn
* and delete flags like 'isMulti'. The caller must hold the appropriate MODE_X or MODE_IX
* locks, and must not release these locks until after the returned PlanExecutor is deleted.
*
- * The returned PlanExecutor will yield if and only if parsedDelete->canYield().
+ * The returned PlanExecutor will used the YieldPolicy returned by parsedDelete->yieldPolicy().
*
* Does not take ownership of its arguments.
*
@@ -155,7 +155,7 @@ StatusWith<std::unique_ptr<PlanExecutor>> getExecutorDelete(OperationContext* tx
* to calling this function, and must not release these locks until after the returned
* PlanExecutor is deleted.
*
- * The returned PlanExecutor will yield if and only if parsedUpdate->canYield().
+ * The returned PlanExecutor will used the YieldPolicy returned by parsedUpdate->yieldPolicy().
*
* Does not take ownership of its arguments.
*