-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
Description
note Updated the description. Previously statedelectionParticipantMetrics (I think it was a copy+paste error) - but node calling an election is electionCandidateMetrics. The electionParticipantMetrics is SERVER-41512 and DOCS-13085.
This ticket added metrics tracking when a node calls for an election. I added the following fields to 'electionCandidateMetrics' in 'repSetGetStatus':
lastElectionReason
lastElectionDate
termAtElection
lastCommittedOpTimeAtElection
numVotesNeeded
priorityAtElection
electionTimeoutMillis
priorPrimaryMemberId
Description of Linked Ticket
Track metrics associated with a node calling an election: reason for calling election, time it called election, latest committed opTime and latest seen opTime when election was called, number of votes needed to win election, priority at the time of the election, electionTimeoutMillis at the time of the election, prior primary member id
Scope of changes
DOCS | metrics | SERVER | Availability | Backport |
---|---|---|---|---|
lastElectionReason | 4.2.1 | 4.0.14 | ||
lastElectionDate | 4.2.1 | 4.0.14 | ||
termAtElection -> electionTerm in 4.2.2 and 4.0.14 | 4.2.1 | 4.0.14 | ||
lastCommittedOpTimeAtElection | 4.2.1 | 4.0.14 | ||
numVotesNeeded | 4.2.1 | 4.0.14 | ||
priorityAtElection | 4.2.1 | 4.0.14 | ||
electionTimeoutMillis | 4.2.1 | 4.0.14 | ||
priorPrimaryMemberId | 4.2.1 | 4.0.14 | ||
targetCatchupOpTime | 4.2.1 | 4.0.13 | ||
numCatchUpOps | 4.2.1 | 4.0.14 | ||
newTermStartDate | 4.2.1 | 4.0.14 | ||
wMajorityWriteAvailabilityDate | 4.2.1 | 4.0.14 |
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
- documents
-
SERVER-41506 Track metrics associated with a node calling an election
- Closed
- related to
-
DOCS-12955 Investigate changes in SERVER-41503: Track the target opTime for catchup in replSetStatus on primaries
- Closed
-
DOCS-12956 Investigate changes in SERVER-41507: Track the time the new term oplog entry was written in replSetStatus on primaries
- Closed
-
DOCS-12962 Investigate changes in SERVER-41504: Track the number of ops during catchup in replSetStatus on primaries
- Closed
-
DOCS-13019 Investigate changes in SERVER-41508: Track the time the new term oplog entry was majority committed in replSetStatus on primaries
- Closed
-
DOCS-13085 Investigate changes in SERVER-41512: Track metrics associated with a node voting in an election
- Closed