You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "Thomas D'Silva (JIRA)" <ji...@apache.org> on 2019/04/17 23:25:00 UTC
[jira] [Commented] (PHOENIX-5246)
PhoenixAccessControllers.getAccessControllers() method is not correctly
implementing the double-checked locking
[ https://issues.apache.org/jira/browse/PHOENIX-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820580#comment-16820580 ]
Thomas D'Silva commented on PHOENIX-5246:
-----------------------------------------
[~swaroopa] or [~yanxinyi] do you have any time to work on this?
> PhoenixAccessControllers.getAccessControllers() method is not correctly implementing the double-checked locking
> ---------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-5246
> URL: https://issues.apache.org/jira/browse/PHOENIX-5246
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.14.0
> Reporter: Thomas D'Silva
> Priority: Major
> Labels: SFDC
> Fix For: 4.15.0, 5.1.0, 4.14.2
>
>
> as per https://en.wikipedia.org/wiki/Double-checked_locking#Usage_in_Java (the accessControllers variable must be volatile.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)