Check that election port is present for all servers
---------------------------------------------------

                 Key: ZOOKEEPER-188
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-188
             Project: Zookeeper
          Issue Type: Improvement
    Affects Versions: 3.0.0
            Reporter: Flavio Paiva Junqueira
             Fix For: 3.0.0


Currently, if we use the default leader election, but we do not provide an 
election port for every server, then zookeeper servers simply crash. I'm 
attaching a patch to output an error message warning the user of the 
configuration problem. It might be a better idea to through an exception upon 
fatal configuration problems, but QuorumPeerConfig.parse() currently throws no 
exception, so we might postpone such a change  until after the 3.0.0 release.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to