[ 
https://issues.apache.org/jira/browse/HIVE-19086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16438217#comment-16438217
 ] 

Alexander Kolbasov commented on HIVE-19086:
-------------------------------------------

The post-event listener that is used by Sentry doesn't need to know every ID. 
In this case it needs to know at least the max ID for the whole sequence of 
events. Is there any way this can be communicated to the non-transactional 
listener?

> Write notifications in bulk only when commitTransaction actually commits
> ------------------------------------------------------------------------
>
>                 Key: HIVE-19086
>                 URL: https://issues.apache.org/jira/browse/HIVE-19086
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Metastore
>    Affects Versions: 3.0.0, 2.4.0
>            Reporter: Alexander Kolbasov
>            Assignee: Vihang Karajgaonkar
>            Priority: Major
>
> This is an optimization that is targeting reducing the amount of time the 
> global DB lock is held for notifications.
> The idea is to collect all notifications and only push them when 
> commitTransaction() actually commits.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to