[
https://issues.apache.org/jira/browse/KAFKA-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated KAFKA-2112:
---------------------------
Resolution: Fixed
Fix Version/s: 0.8.3
Status: Resolved (was: Patch Available)
Thanks for the patch. +1 and committed to trunk.
> make overflowWheel volatile
> ---------------------------
>
> Key: KAFKA-2112
> URL: https://issues.apache.org/jira/browse/KAFKA-2112
> Project: Kafka
> Issue Type: Bug
> Components: purgatory
> Reporter: Yasuhiro Matsuda
> Assignee: Yasuhiro Matsuda
> Fix For: 0.8.3
>
> Attachments: KAFKA-2112.patch
>
>
> overflowWheel in TimingWheel needs to be volatile due to the issue of
> Double-Checked Locking pattern with JVM.
> http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)