I've opened https://issues.apache.org/jira/browse/ZOOKEEPER-312 for this.
On Fri, Feb 13, 2009 at 6:23 PM, Patrick Hunt <ph...@apache.org> wrote:
> You're right, it's never set. Please enter a JIRA assigned to 3.2 and we'll
> look into it.
> Tom White wrote:
>> The AUTH_FAILED state in the ZooKeeper class never seems to be
>> assigned to in the code. So the ZooKeeper client can never enter this
>> state. Instead it looks like authentication errors are indicated by
>> AuthFailedException (with code AUTHFAILED).
>> Is this right? Either the AUTH_FAILED state should be removed, or an
>> AuthFailedException should cause the ZooKeeper client to transition to
>> the AUTH_FAILED state.