[
https://issues.apache.org/jira/browse/KYLIN-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Billy Liu resolved KYLIN-2876.
------------------------------
Resolution: Fixed
Fix Version/s: v2.3.0
Commit:
https://github.com/apache/kylin/commit/a31bce69dfef5ee8070e8b642cdcfbcfde404a60
> Ineffective check in ExternalAclProvider
> ----------------------------------------
>
> Key: KYLIN-2876
> URL: https://issues.apache.org/jira/browse/KYLIN-2876
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: jiatao.tao
> Priority: Major
> Fix For: v2.3.0
>
>
> {code}
> if (inited)
> return singleton;
> synchronized (ExternalAclProvider.class) {
> if (inited)
> return singleton;
> {code}
> If one thread assigns inited but without initialization complete, another
> thread may read the value of inited being true and use the partial result.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)