[
https://issues.apache.org/jira/browse/HIVE-15373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16103015#comment-16103015
]
Oleg Danilov commented on HIVE-15373:
-------------------------------------
So, there is no sense in making openTrascationCalls volatile? For now it looks
a bit odd - the variable is volatile (assuming multi-threading usage), but
non-atomic operators ('++' and '--') have been used.
> DbNotificationListener should use thread-local RawStore
> -------------------------------------------------------
>
> Key: HIVE-15373
> URL: https://issues.apache.org/jira/browse/HIVE-15373
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Alexander Kolbasov
>
> ObjectStore.java has several important calls which are not thread-safe:
> * openTransaction()
> * commitTransaction()
> * rollbackTransaction()
> These should be made thread-safe.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)