You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Vishal K <vi...@gmail.com> on 2010/07/13 23:33:42 UTC
Re: [jira] Commented: (ZOOKEEPER-790) Last processed zxid set
prematurely while establishing leadership
Hi Flavio ,
I got the same error messages. I can reproduce this quite easily. I will
capture the logs again. Is there anything else you would like me to provide?
Thanks.
-Vishal
On Tue, Jul 13, 2010 at 3:52 PM, Flavio Paiva Junqueira (JIRA) <
jira@apache.org> wrote:
>
> [
> https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887969#action_12887969]
>
> Flavio Paiva Junqueira commented on ZOOKEEPER-790:
> --------------------------------------------------
>
> Vishal, What exactly didn't work? Do you get the same error messages with
> the patch? Do you have a reliable way of reproducing it? In general, it
> would be useful if you could provide more detail.
>
> Thanks!
>
>
> > Last processed zxid set prematurely while establishing leadership
> > -----------------------------------------------------------------
> >
> > Key: ZOOKEEPER-790
> > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-790
> > Project: Zookeeper
> > Issue Type: Bug
> > Components: quorum
> > Affects Versions: 3.3.1
> > Reporter: Flavio Paiva Junqueira
> > Assignee: Flavio Paiva Junqueira
> > Priority: Blocker
> > Fix For: 3.3.2, 3.4.0
> >
> > Attachments: ZOOKEEPER-790.patch
> >
> >
> > The leader code is setting the last processed zxid to the first of the
> new epoch even before connecting to a quorum of followers. Because the
> leader code sets this value before connecting to a quorum of followers
> (Leader.java:281) and the follower code throws an IOException
> (Follower.java:73) if the leader epoch is smaller, we have that when the
> false leader drops leadership and becomes a follower, it finds a smaller
> epoch and kills itself.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
Re: [jira] Commented: (ZOOKEEPER-790) Last processed zxid set prematurely while establishing leadership
Posted by Flavio Junqueira <fp...@yahoo-inc.com>.
I forgot if you have provided already a description of how you
reproduce it. If you could point me out to that, I would appreciate.
-Flavio
On Jul 13, 2010, at 11:33 PM, Vishal K wrote:
> Hi Flavio ,
>
> I got the same error messages. I can reproduce this quite easily. I
> will
> capture the logs again. Is there anything else you would like me to
> provide?
> Thanks.
>
> -Vishal
>
> On Tue, Jul 13, 2010 at 3:52 PM, Flavio Paiva Junqueira (JIRA) <
> jira@apache.org> wrote:
>
>>
>> [
>> https://issues.apache.org/jira/browse/ZOOKEEPER-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887969
>> #action_12887969]
>>
>> Flavio Paiva Junqueira commented on ZOOKEEPER-790:
>> --------------------------------------------------
>>
>> Vishal, What exactly didn't work? Do you get the same error
>> messages with
>> the patch? Do you have a reliable way of reproducing it? In
>> general, it
>> would be useful if you could provide more detail.
>>
>> Thanks!
>>
>>
>>> Last processed zxid set prematurely while establishing leadership
>>> -----------------------------------------------------------------
>>>
>>> Key: ZOOKEEPER-790
>>> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-790
>>> Project: Zookeeper
>>> Issue Type: Bug
>>> Components: quorum
>>> Affects Versions: 3.3.1
>>> Reporter: Flavio Paiva Junqueira
>>> Assignee: Flavio Paiva Junqueira
>>> Priority: Blocker
>>> Fix For: 3.3.2, 3.4.0
>>>
>>> Attachments: ZOOKEEPER-790.patch
>>>
>>>
>>> The leader code is setting the last processed zxid to the first of
>>> the
>> new epoch even before connecting to a quorum of followers. Because
>> the
>> leader code sets this value before connecting to a quorum of
>> followers
>> (Leader.java:281) and the follower code throws an IOException
>> (Follower.java:73) if the leader epoch is smaller, we have that
>> when the
>> false leader drops leadership and becomes a follower, it finds a
>> smaller
>> epoch and kills itself.
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
flavio
junqueira
research scientist
fpj@yahoo-inc.com
direct +34 93-183-8828
avinguda diagonal 177, 8th floor, barcelona, 08018, es
phone (408) 349 3300 fax (408) 349 3301