diff options
author | Geert Bosch <geert@mongodb.com> | 2015-05-15 11:45:07 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-05-15 19:57:16 -0400 |
commit | 44018783d2d0476ab7db9708ee98e14a2dd35f4e (patch) | |
tree | 2fe75bfba9865f784f8427f85d3a401972f03814 /src/mongo/db/query/query_yield.cpp | |
parent | b9a9539e6f39416fc9cc24bdcdc66092d801d52f (diff) | |
download | mongo-44018783d2d0476ab7db9708ee98e14a2dd35f4e.tar.gz |
SERVER-18171: Rename commitAndRestart to abandonSnapshot
Diffstat (limited to 'src/mongo/db/query/query_yield.cpp')
-rw-r--r-- | src/mongo/db/query/query_yield.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/query/query_yield.cpp b/src/mongo/db/query/query_yield.cpp index 9fba99a9ac1..5d6994d7eb6 100644 --- a/src/mongo/db/query/query_yield.cpp +++ b/src/mongo/db/query/query_yield.cpp @@ -60,7 +60,7 @@ namespace mongo { // Top-level locks are freed, release any potential low-level (storage engine-specific // locks). If we are yielding, we are at a safe place to do so. - txn->recoveryUnit()->commitAndRestart(); + txn->recoveryUnit()->abandonSnapshot(); // Track the number of yields in CurOp. txn->getCurOp()->yielded(); |