hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Reed (JIRA)" <j...@apache.org>
Subject [jira] Commented: (ZOOKEEPER-794) Callbacks are not invoked when the client is closed
Date Tue, 10 Aug 2010 17:00:18 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896948#action_12896948

Benjamin Reed commented on ZOOKEEPER-794:

alexis, i'm missing the problem you are pointing out. is it an issue with the ordering of
the callbacks?

i'm also wondering about your _3 patch. it is much smaller than the others. is it to be applied
to trunk, or is it relative to a different patch?

> Callbacks are not invoked when the client is closed
> ---------------------------------------------------
>                 Key: ZOOKEEPER-794
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-794
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.3.1
>            Reporter: Alexis Midon
>            Assignee: Alexis Midon
>             Fix For: 3.3.2, 3.4.0
>         Attachments: ZOOKEEPER-794.patch.txt, ZOOKEEPER-794.txt, ZOOKEEPER-794_2.patch,
> I noticed that ZooKeeper has different behaviors when calling synchronous or asynchronous
actions on a closed ZooKeeper client.
> Actually a synchronous call will throw a "session expired" exception while an asynchronous
call will do nothing. No exception, no callback invocation.
> Actually, even if the EventThread receives the Packet with the session expired err code,
the packet is never processed since the thread has been killed by the ventOfDeath. So the
call back is not invoked.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message