[ 
https://issues.apache.org/jira/browse/SENTRY-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Na Li updated SENTRY-1890:
--------------------------
    Status: Patch Available  (was: Open)

> 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
>         Attachments: SENTRY-1890.001.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)

Reply via email to