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

Mahadev konar updated ZOOKEEPER-375:
------------------------------------

    Status: Patch Available  (was: Open)

> zoo_add_auth only retains most recent auth on re-sync
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-375
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-375
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.1.1, 3.1.0
>            Reporter: Patrick Hunt
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-375.patch, ZOOKEEPER-375.patch
>
>
> zoo_add_auth doesn't maintain a list of auths - it only stores the most 
> recent auth send to the server. As a result on re-sync to the cluster it will 
> lose (not reregister) any auths prior to the most recent.
> This code should maintain a list of auths similar to the java code. Be sure 
> to free the memory in close.

-- 
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