summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/topology_coordinator.h
diff options
context:
space:
mode:
authorSamyukta Lanka <samy.lanka@mongodb.com>2019-10-16 20:54:38 +0000
committerevergreen <evergreen@mongodb.com>2019-10-16 20:54:38 +0000
commit9a9b82e95a88c5ce25c958690c2d3365bc62bacc (patch)
treeb7d6ce480dccf68933eaba2340074ba2cf7bbceb /src/mongo/db/repl/topology_coordinator.h
parentc9349a22f68fac52f6056fb08ea3ce0993dd8cbe (diff)
downloadmongo-9a9b82e95a88c5ce25c958690c2d3365bc62bacc.tar.gz
SERVER-43239 Fixed bug causing numCatchUpOps in repSetGetStatus to be incorrect
(cherry picked from commit 71e4779b0da9e8d58dbb179c49b1a86c5e48c93d) SERVER-41512 Added tracking for metrics around a node voting in an election (cherry picked from commit 7538504cb584720c2cbbc6d44ea62d0743b41fcf) SERVER-41513 Track the time the new term oplog entry was written by primary and applied in secondary (cherry picked from commit efde009845f32d8de2d094088628e67608bfa419)
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator.h')
-rw-r--r--src/mongo/db/repl/topology_coordinator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/topology_coordinator.h b/src/mongo/db/repl/topology_coordinator.h
index e23f820fef3..db0bf31428d 100644
--- a/src/mongo/db/repl/topology_coordinator.h
+++ b/src/mongo/db/repl/topology_coordinator.h
@@ -306,6 +306,7 @@ public:
const OpTimeAndWallTime readConcernMajorityOpTime;
const BSONObj initialSyncStatus;
const BSONObj electionCandidateMetrics;
+ const BSONObj electionParticipantMetrics;
// boost::none if the storage engine does not support RTT, or if it does but does not
// persist data to necessitate taking checkpoints. Timestamp::min() if a checkpoint is yet