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

TopologyCoordinator::processReplSetRequestVotes should not crash if _selfIndex is -1

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Replication
    • ALL
    • 70

      If processReplSetRequestVotes is called when the node does not know its own member number (_selfIndex == -1), we will currently invariant when trying to access _selfConfig().  Instead, we should simply vote "no" with an appropriate message.  

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: