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

Add test that TopologyStateMachine checks electionId before updating TopologyDescription

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc1, 4.7.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Sharding 2020-04-20

      The topology state machine checks the setVersion and electionId fields before installing a new server description. This ticket is to add a test to confirm that when a stale primary reports that it is the primary, the TopologyStateManager marks this node as unknown. The TopologyStateManager uses the setVersion and electionId to determine whether a node is stale.

            Assignee:
            janna.golden@mongodb.com Janna Golden
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: