You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by César Álvarez Núñez <ce...@gmail.com> on 2012/05/24 19:32:40 UTC

Unexpected NodeCreated with 3.4.3?

Hi All,

I'm receiving a NodeCreated instead of a NodeDataChanged just after a
Disconnected+SyncConnected.

Perhaps it is needed to always call the "sync" method after a
Disconnect + [Expired] + SyncConnected?

Attached are a txt file with the use case call diagram and a quick and
dirty eclipse project with the described use case.

BR,
/César.

Re: Unexpected NodeCreated with 3.4.3?

Posted by César Álvarez Núñez <ce...@gmail.com>.
Now it is broken the opposite use case: Expected NodeCreated but received
NodeDataChanged :-(
Detected on ZooKeeper 3.3.5 and 3.4.3+ZK-1412
/César.

On Fri, May 25, 2012 at 11:41 AM, César Álvarez Núñez <
cesar.alvarez.nunez@gmail.com> wrote:

> 3.3.5 does not suffer the problem.
> 3.4.3 +
> https://issues.apache.org/jira/secure/attachment/12518110/ZOOKEEPER-1412_br34.patchis working as expected.
>
> Thanks,
> /César.
>
>
> On Fri, May 25, 2012 at 2:23 AM, Patrick Hunt <ph...@apache.org> wrote:
>
>> Based on your diagram (awesome btw!!) I think this was fixed recently,
>> it's in 3.3.5 but not 3.4.3 (slated for 3.4.4). See:
>>
>> https://issues.apache.org/jira/browse/ZOOKEEPER-1412 "java client
>> watches inconsistently triggered on reconnect"
>>
>> Patrick
>>
>> On Thu, May 24, 2012 at 10:32 AM, César Álvarez Núñez
>> <ce...@gmail.com> wrote:
>> > Hi All,
>> >
>> > I'm receiving a NodeCreated instead of a NodeDataChanged just after a
>> > Disconnected+SyncConnected.
>> >
>> > Perhaps it is needed to always call the "sync" method after a
>> > Disconnect + [Expired] + SyncConnected?
>> >
>> > Attached are a txt file with the use case call diagram and a quick and
>> > dirty eclipse project with the described use case.
>> >
>> > BR,
>> > /César.
>>
>
>

Re: Unexpected NodeCreated with 3.4.3?

Posted by César Álvarez Núñez <ce...@gmail.com>.
3.3.5 does not suffer the problem.
3.4.3 +
https://issues.apache.org/jira/secure/attachment/12518110/ZOOKEEPER-1412_br34.patchis
working as expected.

Thanks,
/César.

On Fri, May 25, 2012 at 2:23 AM, Patrick Hunt <ph...@apache.org> wrote:

> Based on your diagram (awesome btw!!) I think this was fixed recently,
> it's in 3.3.5 but not 3.4.3 (slated for 3.4.4). See:
>
> https://issues.apache.org/jira/browse/ZOOKEEPER-1412 "java client
> watches inconsistently triggered on reconnect"
>
> Patrick
>
> On Thu, May 24, 2012 at 10:32 AM, César Álvarez Núñez
> <ce...@gmail.com> wrote:
> > Hi All,
> >
> > I'm receiving a NodeCreated instead of a NodeDataChanged just after a
> > Disconnected+SyncConnected.
> >
> > Perhaps it is needed to always call the "sync" method after a
> > Disconnect + [Expired] + SyncConnected?
> >
> > Attached are a txt file with the use case call diagram and a quick and
> > dirty eclipse project with the described use case.
> >
> > BR,
> > /César.
>

Re: Unexpected NodeCreated with 3.4.3?

Posted by Patrick Hunt <ph...@apache.org>.
Based on your diagram (awesome btw!!) I think this was fixed recently,
it's in 3.3.5 but not 3.4.3 (slated for 3.4.4). See:

https://issues.apache.org/jira/browse/ZOOKEEPER-1412 "java client
watches inconsistently triggered on reconnect"

Patrick

On Thu, May 24, 2012 at 10:32 AM, César Álvarez Núñez
<ce...@gmail.com> wrote:
> Hi All,
>
> I'm receiving a NodeCreated instead of a NodeDataChanged just after a
> Disconnected+SyncConnected.
>
> Perhaps it is needed to always call the "sync" method after a
> Disconnect + [Expired] + SyncConnected?
>
> Attached are a txt file with the use case call diagram and a quick and
> dirty eclipse project with the described use case.
>
> BR,
> /César.