聂安 2013-10-25, 08:53
-Re: zxids from some epoch are a series of consecutive numbers, aren't they?
yes zxids are always consecutive within an epoch and the protocol ensures
that followers see the zxids in order.
On Fri, Oct 25, 2013 at 1:53 AM, 聂安 <[EMAIL PROTECTED]> wrote:
> hi all,
> Are these log indexes(zxids) in one epoch a series of numbers? Do they go
> like this [0-->1-->2-->3-->4], and there's no number (such as 2) skipped?
> Followers do little to prevent data-inconformity before they commit some
> proposal. So can I conclude that ZK always thinks of itself as normal once
> it forms the leader-followers relationship?
> Thank you~