[
https://issues.apache.org/jira/browse/SENTRY-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Hao updated SENTRY-1890:
----------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Status: Resolved (was: Patch Available)
> HMSFollower keep getting full snapshot when HDFS is disabled
> ------------------------------------------------------------
>
> Key: SENTRY-1890
> URL: https://issues.apache.org/jira/browse/SENTRY-1890
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Na Li
> Assignee: Na Li
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: SENTRY-1890.001.patch, SENTRY-1890.002.patch
>
>
> Sergio found that when HDFS sync is disabled, full snapshot is not persisted
> into data store. However, when data store is empty, we decide to get full
> snapshot. Therefore, every run, we get full snapshot from HMS. This causes
> big overhead.
> The solution is to check if the notification ID table is empty or not because
> even when HDFS sync is disabled, we still persist the notification ID into
> notification ID table.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)