Replica set, with only one voter, invariants during election

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 3.0.0-rc8
    • Affects Version/s: 3.0.0-rc7
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The freshness checker expects that it has to check other voting nodes, even though there are none:

      [ReplicationExecutor] Invariant failure _targets.size() src/mongo/db/repl/freshness_checker.cpp 84
      

      This will happen whenever there is only one voting member in a replica set config.

      Note: The config must have more than one member.

              Assignee:
              Scott Hernandez (Inactive)
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: