[SERVER-41500] Track number of successful elections for each reason in serverStatus Created: 04/Jun/19  Updated: 29/Oct/23  Resolved: 08/Jul/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.0.13, 4.2.1, 4.3.1

Type: Task Priority: Major - P3
Reporter: Steven Vannelli Assignee: Medha Potluri (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-12859 Investigate changes in SERVER-41500: ... Closed
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2, v4.0
Sprint: Repl 2019-07-01, Repl 2019-07-15
Participants:
Linked BF Score: 0

 Description   

We want to track the number of successful elections called for each of the following reasons: Step Up, Priority Takeover, Catchup Takeover, Election Timeout, and Freeze Timeout. We know an election is successful after we check the results from the VoteRequester in _onVoteRequestComplete.



 Comments   
Comment by Githook User [ 26/Sep/19 ]

Author:

{'name': 'Samyukta Lanka', 'username': 'lankas', 'email': 'samy.lanka@mongodb.com'}

Message: SERVER-41500 Track number of successful elections for each reason in serverStatus

(cherry picked from commit bf4f91a6087227295007535bf143a8dd20e6a6d5)

SERVER-41510 Track the number of failed stepDowns in serverStatus

(cherry picked from commit 4e8fbd52ca8cda811dc53bb160f3ca5074355dab)

SERVER-41502 Track the number of times primary catchup concludes for each reason in serverStatus

(cherry picked from commit 796214e8426b3036f4eb4bdcc4af9d218589778f)
Branch: v4.0
https://github.com/mongodb/mongo/commit/1467632ac13b8f55f3ec53299619db44e8b2037a

Comment by Githook User [ 11/Sep/19 ]

Author:

{'username': 'lankas', 'email': 'samy.lanka@mongodb.com', 'name': 'Samyukta Lanka'}

Message: SERVER-41500 Track number of successful elections for each reason in serverStatus

(cherry picked from commit bf4f91a6087227295007535bf143a8dd20e6a6d5)
Branch: v4.2
https://github.com/mongodb/mongo/commit/00b8ac746c7cc6035604abbfa3d41b783b009083

Comment by Medha Potluri (Inactive) [ 08/Jul/19 ]

Code review url: https://mongodbcr.appspot.com/461790001/

Comment by Medha Potluri (Inactive) [ 08/Jul/19 ]

Author:

{'name': 'Medha Potluri', 'email': 'medha.potluri@mongodb.com'}

Message: SERVER-41500 Track number of successful elections for each reason in serverStatus
Branch: master
https://github.com/mongodb/mongo/commit/bf4f91a6087227295007535bf143a8dd20e6a6d5

Generated at Thu Feb 08 04:57:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.