zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ZOOKEEPER-3084) Exit when ZooKeeper cannot bind to the leader election port
Date Wed, 11 Jul 2018 04:07:00 GMT

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Han resolved ZOOKEEPER-3084.
------------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message