zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmingyuan <anmingy...@gmail.com>
Subject Re: Is it possible that follower still hold uncommitted data after truncating and reloading?
Date Wed, 05 Sep 2012 07:24:36 GMT
 Mahadev,

Applying https://issues.apache.org/jira/browse/ZOOKEEPER-874 to 3.3.4
fails QuorumPeerMainTest
.testHighestZxidJoinLate.
Seems that truncate logic causes failure.

On Wed, Sep 5, 2012 at 2:15 PM, Mahadev Konar <mahadev@hortonworks.com>wrote:

> 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 <anmingyuan@gmail.com> 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
>



-- 
With regards,
Mingyuan AN

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message