Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - forceSync=no


Copy link to this message
-
Re: forceSync=no
Patrick Hunt 2012-06-16, 00:33
On Fri, Jun 15, 2012 at 12:45 PM, Raj N <[EMAIL PROTECTED]> wrote:
> Can zookeeper recover from a
> corrupt transaction log using existing snapshots and then replaying
> messages from its peers?

A server will try to recover as best it can (using the snaps/logs it
has available), and then talk to the other servers in the quorum to
see if anyone else has a more recent committed change. In the case
where it doesn't it will download what's necessary to get in sync with
the new leader.

What might have happened in your case is that you hit a bug, perhaps a
type of corruption that we don't handle successfully. e.g. see
ZOOKEEPER-1449

Patrick