ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1729

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

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      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.

        Issue Links

          Activity

          Thawan Kooburat created issue -
          Thawan Kooburat made changes -
          Field Original Value New Value
          Link This issue is blocked by ZOOKEEPER-1346 [ ZOOKEEPER-1346 ]

            People

            • Assignee:
              Thawan Kooburat
              Reporter:
              Thawan Kooburat
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development