Lagrang 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-477946006
 
 
   Zookeeper binds to LE port on start, if you can't bind to it, I think 
fail-fast is more reliable behavior than "silently" catch error.  
   From monitoring point of view: process alive, port is bind(but by someone 
else). Also, not so very good:)
   In case of DNS issue in Kubernetes: I start a 3 ZK nodes, all containers in 
cluster alive, but 2 nodes stop listen LE port. Quorum not reached.
   
   But, I found another case when `QuorumCnxManager.Listener` can stop process: 
we can fail while accepting new connections.  I agree that this case should not 
stop a process.

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