Patrick Hunt updated ZOOKEEPER-438:

    Attachment: ZOOKEEPER-438.patch

this patch includes a test that shows the problem. I'm not certain how to fix 
it though.

Also, it seems like access to authInfo should be synchronized - since multiple 
threads are potentially
accessing it at the same time (client & sendthread for example)

> addauth fails to register auth on new client that's not yet connected
> ---------------------------------------------------------------------
>                 Key: ZOOKEEPER-438
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-438
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client, java client
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Blocker
>             Fix For: 3.2.0
>         Attachments: ZOOKEEPER-438.patch
> if addauth is called on a new client connection that's never connected to the 
> server, when the client does connect
> (syncconnected) the auth is not passed to the server. we should ensure we 
> addauth when the client connects or reconnects

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

Reply via email to