diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2019-03-14 11:15:07 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2019-03-19 09:28:52 -0400 |
commit | ec1e10dc518b36d381faeb228008512f0dee68c4 (patch) | |
tree | bddda0da01d35f845c7b3146daae259c1a8d8675 /src/mongo/db/repl/rollback_test_fixture.h | |
parent | 7cc0d1c45272b88eb69e2f2d51ae8608fe3ec036 (diff) | |
download | mongo-ec1e10dc518b36d381faeb228008512f0dee68c4.tar.gz |
SERVER-39221 Test rollback after enableMajorityReadConcern upgrade/downgrade
Diffstat (limited to 'src/mongo/db/repl/rollback_test_fixture.h')
-rw-r--r-- | src/mongo/db/repl/rollback_test_fixture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/rollback_test_fixture.h b/src/mongo/db/repl/rollback_test_fixture.h index 48fc833f9cf..4424ef7b1fe 100644 --- a/src/mongo/db/repl/rollback_test_fixture.h +++ b/src/mongo/db/repl/rollback_test_fixture.h @@ -146,6 +146,11 @@ public: return true; } + boost::optional<Timestamp> getLastStableRecoveryTimestamp( + ServiceContext* serviceCtx) const override { + return _stableTimestamp; + } + void setRecoverToTimestampStatus(Status status) { stdx::lock_guard<stdx::mutex> lock(_mutex); _recoverToTimestampStatus = status; |