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

invariant in updateConfig() when running an election

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.2
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • ALL
    • v3.4, v3.2
    • Repl 10 (02/19/16)
    • 115

      TopologyCoordinatorImpl::updateConfig() assumes the node cannot be a candidate by checking an invariant, but it does happen after the node starts an new election. We need to investigate the circumstances that resulted in the failure.

          invariant(_role != Role::candidate);
      

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: