Details
-
Sub-task
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.0.0
-
None
-
None
Description
Before HA, at create/alter/drop database/table, Sentry HMS plugin (https://github.com/apache/sentry/blob/sentry-ha-redesign/sentry-binding/sentry-binding-hive/src/main/java/org/apache/sentry/binding/metastore/SentryMetastorePostEventListener.java#L123) was checking property(e.g. sentry.hive.sync.create) before do dropSentryDBPrivilege(dropSentryTablePrivilege) . To be consistent, HA branch should do the same.