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

Hudson commented on BOOKKEEPER-114:
-----------------------------------

Integrated in bookkeeper-trunk #231 (See 
[https://builds.apache.org/job/bookkeeper-trunk/231/])
    BOOKKEEPER-114: add a shutdown hook to shut down bookie server safely. 
(Sijie via ivank)

ivank : 
Files : 
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* 
/zookeeper/bookkeeper/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/proto/BookieServer.java

                
> add a shutdown hook to shut down bookie server safely.
> ------------------------------------------------------
>
>                 Key: BOOKKEEPER-114
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-114
>             Project: Bookkeeper
>          Issue Type: Improvement
>    Affects Versions: 4.0.0
>            Reporter: Sijie Guo
>            Assignee: Ivan Kelly
>            Priority: Blocker
>             Fix For: 4.0.0
>
>         Attachments: BOOKKEEPER-114.patch
>
>
> Currently, if Bookie server is terminated, e.g. CTRL-C, kill -SIGTERM pid, 
> kill pid, the data buffered in BufferedChannel has no chanced to be flushed, 
> which may make files corrupted. 
> We should add a shutdown hook to shut down bookie server safely, which will 
> be called when JVM is terminated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to