[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15189446#comment-15189446
 ] 

Patrick Hunt commented on ZOOKEEPER-2387:
-----------------------------------------

I'm -1 this patch or any patch that implements such a behavior.

The current approach of doing a "kill -9" is as by design. We want to (and have 
done so from day 1 of ZK) make the non-graceful shutdown of the service the 
default. That way we force ourselves to handle all the corner cases rather than 
just seeing those corner cases when someone experiences a non-graceful shutdown 
because of an unexpected failure in production. Many systems use the "graceful" 
approach and run into problems as a result - they don't see the corner cases in 
every day and only face them in a much smaller number of scenarios when 
something else bad is happening.

"kill -9" is a feature, not a bug. ;-)

> Attempt to gracefully stop the 
> -------------------------------
>
>                 Key: ZOOKEEPER-2387
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2387
>             Project: ZooKeeper
>          Issue Type: Improvement
>            Reporter: Biju Nair
>            Assignee: Biju Nair
>         Attachments: ZOOKEEPER-2387-1.patch
>
>
> To stop ZooKeeper service, {{kill}} is issued against the ZK process. It will 
> be good to gracefully stop all the subcomponents.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to