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

Add support for compressed snapshot

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.6.0
    • server
    • None

    Description

      We want to keep many copies of snapshots on disk so that we can debug the problem afterward. However, the snapshot can be large, so we added a feature that allow the server to dump/load snapshot in a compressed format (snappy or gzip). This also benefit db loading and snapshotting time as well.

      This is also depends on client workload. In one of our deployment where clients don't compress its data, we found that snappy compression work best. The snapshot size is reduced from 381M to 65MB. Db loading/and snapshotting time is also reduced by 20%.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            enixon Brian Nixon
            thawan Thawan Kooburat
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment