You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2012/06/29 20:27:42 UTC
[jira] [Updated] (ZOOKEEPER-1466) QuorumCnxManager.shutdown missing
synchronization
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-1466:
------------------------------------
Attachment: ZOOKEEPER-1466.patch
Simple patch that fixes the issue (added volatile). No new tests, although I ran against trunk and all existing tests passed.
> QuorumCnxManager.shutdown missing synchronization
> -------------------------------------------------
>
> Key: ZOOKEEPER-1466
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1466
> Project: ZooKeeper
> Issue Type: Bug
> Components: quorum
> Affects Versions: 3.4.0, 3.3.5, 3.5.0
> Reporter: Patrick Hunt
> Assignee: Patrick Hunt
> Priority: Blocker
> Fix For: 3.3.6, 3.4.4, 3.5.0
>
> Attachments: ZOOKEEPER-1466.patch
>
>
> org.apache.zookeeper.server.quorum.QuorumCnxManager.shutdown is not being synchronized even though it's accessed by multiple threads.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira