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 5C458D0AD for ; Wed, 5 Sep 2012 06:16:06 +0000 (UTC) Received: (qmail 98872 invoked by uid 500); 5 Sep 2012 06:16:05 -0000 Delivered-To: apmail-zookeeper-user-archive@zookeeper.apache.org Received: (qmail 98690 invoked by uid 500); 5 Sep 2012 06:16:05 -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 98649 invoked by uid 99); 5 Sep 2012 06:16:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 06:16:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.216.42] (HELO mail-qa0-f42.google.com) (209.85.216.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 06:15:57 +0000 Received: by qaeb19 with SMTP id b19so4043026qae.15 for ; Tue, 04 Sep 2012 23:15:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=INO9ROIDnW1OPAhON+7asFPwfQPUaKHaJx2SE0lnxFE=; b=E8ES/FlRyCWc3BSn07CD9+a5b4kU6JhnsaY4lDXl4qH/oXM+aPD37GGibZGB5DuFsb J+mL+04a8JahIXHKMVDYj/jO8si+9TJvRqo1QM8tzwHsUNnvppuTSMFFQf1XvGMiYvxh d505xiUclKl4krzBtL3Sx0YOZboPTR57brpLw7A6VA7ncKK+DVtzhgntHEub2y/0rn15 E3d3pEWSFJ+/eDFC8hgF8cISllEMwUhEqrRdjd868VK45Qa/VFiikcoCf3j6CUp2uBis YdJyA8rGX9mPc5aSXtYDWa/Q9PZxglfrILOXnEXXBuAh7+BNXuFqSkmhl6+CZgHJ/HYR tlbA== MIME-Version: 1.0 Received: by 10.229.136.84 with SMTP id q20mr12149655qct.80.1346825736453; Tue, 04 Sep 2012 23:15:36 -0700 (PDT) Received: by 10.49.94.113 with HTTP; Tue, 4 Sep 2012 23:15:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 Sep 2012 23:15:36 -0700 Message-ID: Subject: Re: Is it possible that follower still hold uncommitted data after truncating and reloading? From: Mahadev Konar To: user@zookeeper.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlt2B/aEWPqxMfUhZz+Ju1ii7Hs2Fwe/pZ1jX+Nn4o1CXZOXW3RhmqnCWmtcHQtTHPYMOhT X-Virus-Checked: Checked by ClamAV on apache.org Mingyuan, No that should not happen. In case that happens its a bug. thanks mahadev On Tue, Sep 4, 2012 at 9:27 PM, anmingyuan wrote: > Is it possible that follower still hold uncommitted data after truncating > and reloading? > ZKDatabase.loadDataBase() loads data from the most recent snapshot, but > FileTxnLog.truncate() doesn't delete the snapshot files corresponding to > the deleted log files. > > > -- > With regards, > Mingyuan AN