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-17) zookeeper_init doc needs clarification
Date Wed, 08 Oct 2008 22:33:44 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638122#action_12638122
] 

Benjamin Reed commented on ZOOKEEPER-17:
----------------------------------------

The documentation is incorrect. An invalid or expired session id will result in a zookeeper_handle
that is in the unrecoverable SESSION_EXPIRED_STATE. That comment documented old behavior.

It turns out that processing correctly the situation where the session is expired and a new
session is assigned can be tricky. We also wanted the behavior to be consistent with any other
case in which an unrecoverable session event is delivered: the zhandle_t becomes invalid.

We need to fix the doc to say that if the session id is expired or invalid the return zhandle_t
will also be invalid.

> zookeeper_init doc needs clarification
> --------------------------------------
>
>                 Key: ZOOKEEPER-17
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-17
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, documentation
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-17.patch
>
>
> Moved from SourceForge to Apache.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1967467&group_id=209147&atid=1008544

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


Mime
View raw message