[SERVER-78856] Remove internal repl uses of electionId Created: 11/Jul/23  Updated: 03/Jan/24  Resolved: 03/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-12-11, Repl 2023-12-25
Participants:

 Description   

SERVER-78358 made it possible to retrieve the replication coordinator election ID without taking the replication mutex. The election ID is a leftover from PV0 which unfortunately we cannot remove entirely because it is exposed externally. But we should remove all uses within the replication coordinator. In particular the election ID stored within the topology coordinator should be removed; it appears this is only used in _fillHelloForReplSet, so we can just pass it in.



 Comments   
Comment by Githook User [ 02/Jan/24 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-78856 Remove internal repl uses of electionId

GitOrigin-RevId: 5aed187ab0b09eb87969ae1065399d4cb6f55720
Branch: master
https://github.com/mongodb/mongo/commit/da2733683ae046bf6488eddac01603934441be4b

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