summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorJamie Heppenstall <jamie.heppenstall@mongodb.com>2020-05-04 18:21:37 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-06 15:07:43 +0000
commitc3b69968875f63d969e55148df0d5f57b121b349 (patch)
treee2f3e289f1585e96ff7f3d1cbedea2a4eca58cc7 /src/mongo/dbtests
parentcd42cb1a51f1e2a6c02759ad5fa1523b5b65faa9 (diff)
downloadmongo-c3b69968875f63d969e55148df0d5f57b121b349.tar.gz
SERVER-46570 Remove the kCheckpoint ReadSource on the RecoveryUnit
(cherry picked from commit b430e084d39d9315cf272383c17b0a5fb4d83395)
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/validate_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp
index bfa33ebdb2f..bd3c18eede5 100644
--- a/src/mongo/dbtests/validate_tests.cpp
+++ b/src/mongo/dbtests/validate_tests.cpp
@@ -87,8 +87,8 @@ public:
protected:
ValidateResults runValidate() {
- // validate() will set a kCheckpoint read source. Callers continue to do operations after
- // running validate, so we must reset the read source back to normal before returning.
+ // Callers continue to do operations after running validate, so we must reset the read
+ // source back to normal before returning.
auto originalReadSource = _opCtx.recoveryUnit()->getTimestampReadSource();
ON_BLOCK_EXIT([&] {
_opCtx.recoveryUnit()->abandonSnapshot();