[
https://issues.apache.org/jira/browse/PHOENIX-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved PHOENIX-6510.
----------------------------------
Fix Version/s: 5.1.3
4.16.2
5.2.0
4.17.0
Resolution: Fixed
Committed to all active branches.
Thank you [~weichiu]
> Double-Checked Locking field must be volatile
> ---------------------------------------------
>
> Key: PHOENIX-6510
> URL: https://issues.apache.org/jira/browse/PHOENIX-6510
> Project: Phoenix
> Issue Type: Bug
> Reporter: Wei-Chiu Chuang
> Assignee: Wei-Chiu Chuang
> Priority: Major
> Fix For: 4.17.0, 5.2.0, 4.16.2, 5.1.3
>
>
> There are three places where the field used for double-checked locking isn't
> volatile. Change them to volatile to ensure thread-safety.
> More details on the double-checked locking paradigm:
> https://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)