Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1729

Add l4w command "snap" to trigger log rotation and snapshotting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • server
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              thawan Thawan Kooburat
              thawan Thawan Kooburat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: