Remove internal repl uses of electionId

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Repl 2023-12-11, Repl 2023-12-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Matthew Russotto
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: