kalyan kumar kalvagadda created SENTRY-2307:
-----------------------------------------------
Summary: 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
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)