[SERVER-29090] Nodes should provide more information on why they reject a vote Created: 05/May/17  Updated: 30/Oct/23  Resolved: 22/May/17

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.11, 3.5.8

Type: Improvement Priority: Major - P3
Reporter: Judah Schvimer Assignee: Judah Schvimer
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Repl 2017-05-29
Participants:
Linked BF Score: 0

 Description   

When votes are rejected, we say why they are, but don't provide details. For example, if we vote no because the candidate is behind us, we don't provide the relevant OpTimes, even though they're available.
https://github.com/mongodb/mongo/blob/8a4b235971a59e92e3fa67fd6a92ddcfcd76ce81/src/mongo/db/repl/topology_coordinator_impl.cpp#L2573-L2591



 Comments   
Comment by Githook User [ 15/Nov/17 ]

Author:

{'name': 'Judah Schvimer', 'username': 'judahschvimer', 'email': 'judah@mongodb.com'}

Message: SERVER-29090 Nodes provide more information on why they reject a vote

(cherry picked from commit b035e46ec65088885d8b934af235481f294af77f)
Branch: v3.4
https://github.com/mongodb/mongo/commit/2c285f7c60fb0fd78f7dcef28aad1641e58cc157

Comment by Githook User [ 22/May/17 ]

Author:

{u'username': u'judahschvimer', u'name': u'Judah Schvimer', u'email': u'judah@mongodb.com'}

Message: SERVER-29090 Nodes provide more information on why they reject a vote
Branch: master
https://github.com/mongodb/mongo/commit/b035e46ec65088885d8b934af235481f294af77f

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