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

Eugene Koontz commented on ZOOKEEPER-1055:
------------------------------------------

I noticed that we use SelectionKey.attach() to attach authInfo information to 
ClientCnxns. A bit of googling led me to this blog post: 
"http://jfarcand.wordpress.com/2006/07/06/tricks-and-tips-with-nio-part-ii-why-selectionkey-attach-is-evil/";

I'm not sure if this blog post is relevant, but thought I'd mention it.

> check for duplicate ACLs in addACL() and create()
> -------------------------------------------------
>
>                 Key: ZOOKEEPER-1055
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1055
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>             Fix For: 3.4.0
>
>         Attachments: ZOOKEEPER-1055.patch, ZOOKEEPER-1055.patch
>
>
> actual result:
> [zk: (CONNECTED) 0] create /test2 'test2' 
> digest:test:test:cdrwa,digest:test:test:cdrwa
> Created /test2
> [zk: (CONNECTED) 1] getAcl /test2
> 'digest,'test:test
> : cdrwa
> 'digest,'test:test
> : cdrwa
> [zk: (CONNECTED) 2]
> but getAcl should only have a single entry.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to