diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-10-13 15:08:52 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-10-15 19:16:42 +0000 |
commit | 9f52be8cf511d4fe0b2aa8eb20e18c47a5bf097d (patch) | |
tree | 9e6a7afee6b444d9f760f7133154bda041235276 /src/mongo/db/repl/replication_coordinator_impl.h | |
parent | bef72de45709f2e1e6874e9b5f29a01e3fa8c413 (diff) | |
download | mongo-9f52be8cf511d4fe0b2aa8eb20e18c47a5bf097d.tar.gz |
SERVER-50949: Return empty JournalListener token during rollback
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl.h b/src/mongo/db/repl/replication_coordinator_impl.h index dac623362a5..10437a4467f 100644 --- a/src/mongo/db/repl/replication_coordinator_impl.h +++ b/src/mongo/db/repl/replication_coordinator_impl.h @@ -184,7 +184,8 @@ public: virtual void setMyHeartbeatMessage(const std::string& msg); virtual OpTime getMyLastAppliedOpTime() const override; - virtual OpTimeAndWallTime getMyLastAppliedOpTimeAndWallTime() const override; + virtual OpTimeAndWallTime getMyLastAppliedOpTimeAndWallTime( + bool rollbackSafe = false) const override; virtual OpTime getMyLastDurableOpTime() const override; virtual OpTimeAndWallTime getMyLastDurableOpTimeAndWallTime() const override; |