summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/plan_executor.h
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-05-15 11:45:07 -0400
committerGeert Bosch <geert@mongodb.com>2015-05-15 19:57:16 -0400
commit44018783d2d0476ab7db9708ee98e14a2dd35f4e (patch)
tree2fe75bfba9865f784f8427f85d3a401972f03814 /src/mongo/db/query/plan_executor.h
parentb9a9539e6f39416fc9cc24bdcdc66092d801d52f (diff)
downloadmongo-44018783d2d0476ab7db9708ee98e14a2dd35f4e.tar.gz
SERVER-18171: Rename commitAndRestart to abandonSnapshot
Diffstat (limited to 'src/mongo/db/query/plan_executor.h')
-rw-r--r--src/mongo/db/query/plan_executor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/plan_executor.h b/src/mongo/db/query/plan_executor.h
index e8c74445787..98fd8991055 100644
--- a/src/mongo/db/query/plan_executor.h
+++ b/src/mongo/db/query/plan_executor.h
@@ -87,7 +87,7 @@ namespace mongo {
YIELD_AUTO,
// This will handle WriteConflictExceptions that occur while processing the query, but
- // will not yield locks. commitAndRestart() will be called if a WriteConflictException
+ // will not yield locks. abandonSnapshot() will be called if a WriteConflictException
// occurs so callers must be prepared to get a new snapshot.
WRITE_CONFLICT_RETRY_ONLY,