hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Danilov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15373) DbNotificationListener should use thread-local RawStore
Date Thu, 27 Jul 2017 09:46:01 GMT

    [ 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)

Mime
View raw message