You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Thawan Kooburat (JIRA)" <ji...@apache.org> on 2013/07/16 05:32:48 UTC

[jira] [Created] (ZOOKEEPER-1729) Add l4w command "snap" to trigger log rotation and snapshotting

Thawan Kooburat created ZOOKEEPER-1729:
------------------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira