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

Alexander Kolbasov commented on SENTRY-2396:
--------------------------------------------

Looks like SENTRY-2300 is more experimental and it changes semantics in some 
non-trivial ways. What is proposed here looks like a simpler change - there is 
no reason not to kick HMSFollower to wake up early.

The only issue here is that we may be waiting on the follower side, so these 
guys would have to wait longer. It would be useful to also decrease the default 
time between polls.

> Minimize the time sentry blocks HMS threads
> -------------------------------------------
>
>                 Key: SENTRY-2396
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2396
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-2396.001.patch, SENTRY-2396.002.patch
>
>
> Currently HMS is blocked for max of one sec by sentry for below operations
>  # create database
>  # drop database
>  # create table
>  # drop table
>  # alter table
> Reason for this is to make sure that sentry fetched  the notification event 
> from HMS and processed.
>  
>  



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

Reply via email to