From b95db102cadf57661e53ae6aa81c4ab9a1254a16 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Thu, 7 Apr 2016 15:47:40 -0400 Subject: SERVER-23551 $isolated writes should use WRITE_CONFLICT_RETRY_ONLY --- src/mongo/db/query/get_executor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/query/get_executor.h') 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> 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> 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. * -- cgit v1.2.1