[
https://issues.apache.org/jira/browse/ZOOKEEPER-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yanick Dufresne updated ZOOKEEPER-1063:
---------------------------------------
Attachment: ZOOKEEPER-1063.patch
Here's an updated patch, generated against 1127288. Passes all existing tests.
No new tests as this patch doesn't introduce any new functionality.
> Dubious synchronization in Zookeeper and ClientCnxnSocketNIO classes
> --------------------------------------------------------------------
>
> Key: ZOOKEEPER-1063
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1063
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client
> Reporter: Yanick Dufresne
> Assignee: Yanick Dufresne
> Priority: Critical
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1063.patch, ZOOKEEPER-1063.patch
>
>
> Synchronization around dataWatches, existWatches and childWatches in
> Zookeeper is incorrect.
> Synchronization around outgoingQueue and pendingQueue in ClientCnxnSocketNIO
> is incorrect.
> Synchronization around selector and key sets in ClientCnxnSocketNIO seems odd.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira