[DOCS-13053] Investigate changes in SERVER-41506: Track metrics associated with a node calling an election Created: 24/Sep/19  Updated: 13/Nov/23  Resolved: 24/Oct/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.1, 4.0.14, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-41506 Track metrics associated with a node ... Closed
Related
related to DOCS-12955 Investigate changes in SERVER-41503: ... Closed
related to DOCS-12956 Investigate changes in SERVER-41507: ... Closed
related to DOCS-12962 Investigate changes in SERVER-41504: ... Closed
related to DOCS-13019 Investigate changes in SERVER-41508: ... Closed
related to DOCS-13085 Investigate changes in SERVER-41512: ... Closed
Participants:
Days since reply: 4 years, 8 weeks ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

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.

 

Downstream Change Summary

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
DOCS-13053 lastElectionReason SERVER-41506 4.2.1 4.0.14
DOCS-13053 lastElectionDate SERVER-41506 4.2.1 4.0.14
DOCS-13053 termAtElection -> electionTerm in 4.2.2 and 4.0.14 SERVER-41506 4.2.1 4.0.14
DOCS-13053 lastCommittedOpTimeAtElection SERVER-41506 4.2.1 4.0.14
DOCS-13053 numVotesNeeded SERVER-41506 4.2.1 4.0.14
DOCS-13053 priorityAtElection SERVER-41506 4.2.1 4.0.14
DOCS-13053 electionTimeoutMillis SERVER-41506 4.2.1 4.0.14
DOCS-13053 priorPrimaryMemberId SERVER-41506 4.2.1 4.0.14
DOCS-12955 targetCatchupOpTime SERVER-41503 4.2.1 4.0.13
DOCS-12962 numCatchUpOps SERVER-41504 4.2.1 4.0.14
DOCS-12956 newTermStartDate SERVER-41507 4.2.1 4.0.14
DOCS-13019 wMajorityWriteAvailabilityDate SERVER-41508 4.2.1 4.0.14

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 18/Dec/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13053,DOCS-12962,DOCS-12956,DOCS-13019: rs.status electionCandidateMetrics
Branch: v4.0
https://github.com/mongodb/docs/commit/f6f5dee25f4ca0d5c9343ebbdafdf66b45dedc65

Comment by Githook User [ 24/Oct/19 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'Kay Kim'}

Message: DOCS-13053,DOCS-12962,DOCS-12956,DOCS-13019: rs.status electionCandidateMetrics
Branch: v4.0.14
https://github.com/mongodb/docs/commit/32cb3da85207e0c98b2fd48e4dc1142b398720f3

Comment by Kay Kim (Inactive) [ 23/Oct/19 ]

Reopen as backported to 4.0.14

Comment by Githook User [ 18/Oct/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13053,DOCS-12962,DOCS-12956,DOCS-13019: rs.status electionCandidateMetrics
Branch: master
https://github.com/mongodb/docs/commit/ca206ce2d2218d3e292b8c76438b41c0da647be4

Comment by Githook User [ 18/Oct/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13053,DOCS-12962,DOCS-12956,DOCS-13019: rs.status electionCandidateMetrics
Branch: v4.2.1
https://github.com/mongodb/docs/commit/60ebe74f750c8edff91cc904fbc8826e1c7ff9ff

Comment by Githook User [ 15/Oct/19 ]

Author:

{'name': 'Kay Kim', 'username': 'kay-kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13053,DOCS-12962,DOCS-12956,DOCS-13019: rs.status electionCandidateMetrics
Branch: v4.2.1
https://github.com/mongodb/docs/commit/9a48154e7d2c129b3ef842d392a9360b67ed8756

Generated at Thu Feb 08 08:06:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.