Return-Path: X-Original-To: apmail-zookeeper-user-archive@www.apache.org Delivered-To: apmail-zookeeper-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FCD218AFC for ; Wed, 3 Jun 2015 18:20:24 +0000 (UTC) Received: (qmail 96699 invoked by uid 500); 3 Jun 2015 18:20:23 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 96645 invoked by uid 500); 3 Jun 2015 18:20:23 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 96633 invoked by uid 99); 3 Jun 2015 18:20:23 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2015 18:20:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D25131A43C2 for ; Wed, 3 Jun 2015 18:20:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id IhkkLtKgw83V for ; Wed, 3 Jun 2015 18:20:22 +0000 (UTC) Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com [209.85.220.177]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 0685E275E3 for ; Wed, 3 Jun 2015 18:20:22 +0000 (UTC) Received: by qkoo18 with SMTP id o18so10528473qko.1 for ; Wed, 03 Jun 2015 11:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=xkDcC7eNI92LgvXiO7plEvYXQG5KjrSd4hDlBylNMEc=; b=KLPFgU17PTBty9zJAqByjzLmGyTSgbNdcu50ac3+CRkhX/u1Ph1Pg+iWl+w91ktUqF Fdz2eK8Tnyvj58G/NapV7dZkXG4zRew2rH2q7u7feERTHFi8/midj7UfsIkS2IgvZeuD UK8J+g/lHu56ikeAvxw3YVckD3KE38GJFTHbd0v/jMNuyPT+sJU3nHMEvu4CgktaRmkd JGViH6QQfgBzAzX4DunYxH1bENlQk8gSGt8Z/Q02G8RfLU+M1k4HWvzGPyqMeNeXTbeb +qF2JKEuhx1wKnhM4B94C/BtBNG20/dzC8IJBAd2xDpj3JzPpKDiFg6ubd+igh+n4B9M qHvA== MIME-Version: 1.0 X-Received: by 10.55.15.135 with SMTP id 7mr61908790qkp.12.1433355621345; Wed, 03 Jun 2015 11:20:21 -0700 (PDT) Received: by 10.96.70.10 with HTTP; Wed, 3 Jun 2015 11:20:21 -0700 (PDT) Date: Wed, 3 Jun 2015 11:20:21 -0700 Message-ID: Subject: A transaction log is created with each startup? From: Benjamin Jaton To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a11371070a5ca270517a11c10 --001a11371070a5ca270517a11c10 Content-Type: text/plain; charset=UTF-8 Hello, I am noticing that my disk fills up with ZK transaction logs. A 65MB transaction log is created with each startup of ZooKeeper,. I have the purge enabled but it won't do anything as I have very little writes (if any), so the snapCount is never reached. Basically in the scenario where there are little writes, ZK will charge 65MB with each restart. Is that something to be expected? Can we tell ZK to reuse the last transaction log instead of creating a new one? Thanks! Ben --001a11371070a5ca270517a11c10--