[
https://issues.apache.org/jira/browse/SENTRY-2307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
kalyan kumar kalvagadda updated SENTRY-2307:
--------------------------------------------
Attachment: SENTRY-2307.003.patch
> Avoid HMS event synchronization while sentry is fetching full snapshot.
> ------------------------------------------------------------------------
>
> Key: SENTRY-2307
> URL: https://issues.apache.org/jira/browse/SENTRY-2307
> Project: Sentry
> Issue Type: Sub-task
> Components: Sentry
> Affects Versions: 2.1.0
> Reporter: kalyan kumar kalvagadda
> Assignee: kalyan kumar kalvagadda
> Priority: Major
> Fix For: 2.1.0
>
> Attachments: SENTRY-2307.001.patch, SENTRY-2307.002.patch,
> SENTRY-2307.003.patch
>
>
> Sentry tries to synchronize the HMS operations to make sure that sentry
> server process the notifications for create/drop/alter table and databases
> before it receives permission grants/revokes on them. Blocking HMS threads to
> make sentry processes appropriate notifications makes sense but doing the
> same when full snapshot is taken doesn’t serve any purpose as sentry server
> doesn’t update sentry permissions based on HMS full snapshot. We can document
> that there sentry could have some stale permissions when there are any DDL
> operations performed at the time of snapshot creation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)