behos commented on PR #1898:
URL: https://github.com/apache/zookeeper/pull/1898#issuecomment-1582438378

   @eolivelli 
   
   > This is working like that by design. why do you need such behaviour ?
   > 
   > I remember that @phunt once said "Kill -9 is a feature"
   
   Why would we want this to be the normal case though? Graceful shutdown of 
connections allows us to avoid dangling connections and make normal maintenance 
operations less likely to cause issues. Even `zkServer.sh stop` just sends a 
`kill` and doesn't cause a graceful shutdown.
   
   > you can never expect that the graceful shutdown works. it adds lots of 
races.
   > it is better that we guarantee that ZooKeeper works well with KILL -9
   
   There is a graceful shutdown implemented in Zookeeper, it's just not 
triggered through a signal. Why would this handler introduce additional races 
if it triggers the same path?


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to