You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2010/07/02 09:33:50 UTC

[jira] Updated: (ZOOKEEPER-800) zoo_add_auth returns ZOK if zookeeper handle is in ZOO_CLOSED_STATE

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt updated ZOOKEEPER-800:
-----------------------------------

    Fix Version/s: 3.3.2
                   3.4.0

penciling in for 3.3.2

> zoo_add_auth returns ZOK if zookeeper handle is in ZOO_CLOSED_STATE
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-800
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-800
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.3.1
>            Reporter: Michi Mutsuzaki
>            Priority: Minor
>             Fix For: 3.3.2, 3.4.0
>
>
> This happened when I called zoo_add_auth() immediately after zookeeper_init(). It took me a while to figure out that authentication actually failed since zoo_add_auth() returned ZOK. It should return ZINVALIDSTATE instead. 
> --Michi

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