You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Bill Havanki (JIRA)" <ji...@apache.org> on 2014/07/03 15:52:24 UTC
[jira] [Commented] (ZOOKEEPER-1347) Fix the cnxns to use a
concurrent data structures
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14051448#comment-14051448 ]
Bill Havanki commented on ZOOKEEPER-1347:
-----------------------------------------
It appears this was fixed as part of ZOOKEEPER-1504. The HashSet in ServerCnxnFactory was replaced with a concurrent set.
> Fix the cnxns to use a concurrent data structures
> -------------------------------------------------
>
> Key: ZOOKEEPER-1347
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1347
> Project: ZooKeeper
> Issue Type: Sub-task
> Components: server
> Reporter: Camille Fournier
> Fix For: 3.5.0
>
>
> Cnxns is currently stored as a HashSet but may be accessed by multiple threads concurrently. Instead of doing our own sync we should investigate using a proper concurrent data structure for this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)