summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/rollback_test_fixture.h
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2017-11-21 15:52:48 -0500
committerWilliam Schultz <william.schultz@mongodb.com>2017-11-21 16:19:35 -0500
commit3867aecb8eb2a0d8c4835f9adf3e76c83e607a10 (patch)
tree669f3a1fc040a7b0bc89b1d72fa9f04b16b0b6f7 /src/mongo/db/repl/rollback_test_fixture.h
parent01be30b1e364f10f3b0ba7e7b00fd81337bae434 (diff)
downloadmongo-3867aecb8eb2a0d8c4835f9adf3e76c83e607a10.tar.gz
SERVER-30577 Don't update the stable timestamp if database is in an inconsistent state
(cherry picked from commit 30de2f7c46a9aa0914fe91cba2075b244e9b516b)
Diffstat (limited to 'src/mongo/db/repl/rollback_test_fixture.h')
-rw-r--r--src/mongo/db/repl/rollback_test_fixture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/rollback_test_fixture.h b/src/mongo/db/repl/rollback_test_fixture.h
index c31aeed617e..29a301b8e1c 100644
--- a/src/mongo/db/repl/rollback_test_fixture.h
+++ b/src/mongo/db/repl/rollback_test_fixture.h
@@ -114,7 +114,8 @@ public:
* Base class implementation triggers an invariant. This function is overridden to be a no-op
* for rollback tests.
*/
- void resetLastOpTimesFromOplog(OperationContext* opCtx) override;
+ void resetLastOpTimesFromOplog(OperationContext* opCtx,
+ ReplicationCoordinator::DataConsistency consistency) override;
/**
* Returns IllegalOperation (does not forward call to