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

Expose electionId on primary in isMaster

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 2.6.10, 2.8.0-rc1
    • Replication, Write Ops
    • None
    • Minor Change

    Description

      By exposing the electionId so clients (drivers really) will be able to detect when an election has occurred and a new primary should be discovered. Currently this is just exposed for sharding clients, but we can expose it all the time and in isMaster which clients poll periodically.

      Attachments

        Issue Links

          Activity

            People

              matt.dannenberg Matt Dannenberg
              scotthernandez Scott Hernandez
              Votes:
              9 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: