[ https://issues.apache.org/jira/browse/ZOOKEEPER-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539554#comment-16539554 ]
Hudson commented on ZOOKEEPER-3084: ----------------------------------- SUCCESS: Integrated in Jenkins build ZooKeeper-trunk #95 (See [https://builds.apache.org/job/ZooKeeper-trunk/95/]) ZOOKEEPER-3084: Exit when ZooKeeper cannot bind to the leader election (hanm: rev c2e7ed1e6f8f2de48778db7f3d63f9629c086ea8) * (edit) src/java/main/org/apache/zookeeper/server/quorum/QuorumCnxManager.java > Exit when ZooKeeper cannot bind to the leader election port > ----------------------------------------------------------- > > Key: ZOOKEEPER-3084 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3084 > Project: ZooKeeper > Issue Type: Improvement > Components: quorum, server > Reporter: Fangmin Lv > Assignee: Fangmin Lv > Priority: Minor > Labels: easyfix, pull-request-available > Fix For: 3.6.0 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > In QuorumCnxManager, the listener thread will exit if it cannot bind to the > election port after trying 3 times. Which will keep the server running but > unable to join a quorum, the process will be dangling there and only > rejecting requests. It seems it's better to exit instead of sitting there > doing nothing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)