[ https://issues.apache.org/jira/browse/SENTRY-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16607482#comment-16607482 ]
kalyan kumar kalvagadda edited comment on SENTRY-2396 at 9/7/18 6:29 PM: ------------------------------------------------------------------------- Sentry server currently fetches events from HMS periodically causing HMS threads to be blocked. This can be minimized by fetching the notification event from HMS immediately when sentry knows that HMS will be blocked. *Advantage:* # HMS is not blocked. # The change is safe as it is not changing any functionality. *Disadvantage:* There will be more fetch requests from sentry towards HMS. was (Author: kkalyan): Sentry server currently fetches events from HMS periodically causing HMS threads to be blocked. This can be minimized by fetching the notification event from HMS immediately when sentry knows that HMS will be blocked. *Advantage:* HMS is not blocked. *Disadvantage:* There will be more fetch requests from sentry towards HMS. > Minimize the time sentry blocks HMS > ----------------------------------- > > 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 > > 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)