[SERVER-36694] Do not hand off elections when in PV0 Created: 16/Aug/18  Updated: 29/Oct/23  Resolved: 18/Sep/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: 3.6.7
Fix Version/s: 3.6.9

Type: Task Priority: Major - P3
Reporter: Vesselina Ratcheva (Inactive) Assignee: Vesselina Ratcheva (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-09-10, Repl 2018-09-24
Participants:

 Description   

ReplSetStepUp is only supported in PV1, so election handoff is a no-op in PV0. We could easily gate it on protocol version here.

This would save us from unnecessarily logging "Step-up command is only supported by Protocol Version 1" errors.



 Comments   
Comment by Githook User [ 18/Sep/18 ]

Author:

{'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@mongodb.com'}

Message: SERVER-36694 Do not hand off elections when in PV0
Branch: v3.6
https://github.com/mongodb/mongo/commit/1f3656bc37dec498217cb32e10ee18476ded577e

Comment by Vesselina Ratcheva (Inactive) [ 16/Aug/18 ]

I originally wanted to do this sooner for that precise reason, but we currently have 3.6 frozen. I would still be happy to do this ticket asap if it makes sense to make an exception for it (but it's also okay if not).

Comment by Tess Avitabile (Inactive) [ 16/Aug/18 ]

vesselina.ratcheva, do you think we should do this soon, in order to clarify our communication around what log messages you might see for election handoff?

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