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

Patrick Hunt commented on ZOOKEEPER-1729:
-----------------------------------------

Adding to JMX would also make sense imo (less familiar with the security 
support there though)

> Add l4w command "snap" to trigger log rotation and snapshotting 
> ----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1729
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1729
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Thawan Kooburat
>            Assignee: Thawan Kooburat
>            Priority: Minor
>
> "snap" command can be used to trigger log rotate and snapshotting on each 
> server. 
> One use case for this command is to make server restart faster by issuing 
> snap command before restarting the server. This help when txnlog is large 
> (due to txn size or number of txn)
> snap is a blocking command, it will return when snapshot is written to disk. 
> So it is safe to call this prior to restarting the server.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to