Add test that TopologyStateMachine checks electionId before updating TopologyDescription

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: