[
https://issues.apache.org/jira/browse/PHOENIX-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17101050#comment-17101050
]
Xinyi Yan commented on PHOENIX-5685:
------------------------------------
Hi [~swaroopa], are you currently working on it? Do you have ETA? Can it be
done in future releases such as 4.16.1 or 4.17?
> PDataTypeFactory Singleton is not thread safe
> ---------------------------------------------
>
> Key: PHOENIX-5685
> URL: https://issues.apache.org/jira/browse/PHOENIX-5685
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 5.0.0, 4.15.0
> Reporter: Swaroopa Kadam
> Assignee: Swaroopa Kadam
> Priority: Minor
> Fix For: 5.1.0, 4.15.1, 4.16.0
>
>
> The singleton class uses lazy initialization of the INSTANCE variable,
> however, the PDataTypeFactory#getInstance method is not synchronized to be
> thread-safe. Good to make use of double-checked locking.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)