diff options
author | Medha Potluri <medha.potluri@mongodb.com> | 2019-08-07 15:25:21 -0400 |
---|---|---|
committer | Medha Potluri <medha.potluri@mongodb.com> | 2019-08-13 13:34:56 -0400 |
commit | ee47f663b7473b0b56b401922a532e809c516a50 (patch) | |
tree | 47497bad14ad8f5722bf395f046d67283d258cbd /src/mongo/db/repl/replication_metrics.h | |
parent | 6e3fd1902f1977d6372c6fdfab4fd9ab73c89aea (diff) | |
download | mongo-ee47f663b7473b0b56b401922a532e809c516a50.tar.gz |
SERVER-41507 Track the time the new term oplog entry was written in replSetStatus on primaries
Diffstat (limited to 'src/mongo/db/repl/replication_metrics.h')
-rw-r--r-- | src/mongo/db/repl/replication_metrics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_metrics.h b/src/mongo/db/repl/replication_metrics.h index 790036be571..8781c51f6a3 100644 --- a/src/mongo/db/repl/replication_metrics.h +++ b/src/mongo/db/repl/replication_metrics.h @@ -83,6 +83,7 @@ public: // consistent state. void setElectionCandidateMetrics(Date_t lastElectionDate); void setTargetCatchupOpTime(OpTime opTime); + void setNewTermStartDate(Date_t newTermStartDate); boost::optional<OpTime> getTargetCatchupOpTime_forTesting(); |