maoling commented on issue #863: ZOOKEEPER-3320: Leader election port stop 
listen when hostname unresolvable for some time
URL: https://github.com/apache/zookeeper/pull/863#issuecomment-475965281
 
 
   @Lagrang 
   - you also need to doc this property in the `zookeeperAdmin.md`
   - Look back, this retry logic was firstly introduced by [ZOOKEEPER-512 
](https://issues.apache.org/jira/browse/ZOOKEEPER-512) 
   
   > This is for retrying. If there is a problem while listening or trying to 
bind to the socket, it tries again and gives up after 3 consecutive attempts.
   
   - An infinite loop is a better option, especially for the availability?  
because the container will be self-healing just a few minutes after its DNS is 
unresolvable, we cannot have a good evaluation of the retry times.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to