Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78856

Remove internal repl uses of electionId

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 7.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Repl 2023-12-11, Repl 2023-12-25

    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.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: