[ 
https://issues.apache.org/jira/browse/SENTRY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954198#comment-15954198
 ] 

Alexander Kolbasov commented on SENTRY-874:
-------------------------------------------

We are changing the logic in sentry-ha-redesign branch for this.

The simplest approach we are taking now is to ensure that HMS doesn't change 
while we take an initial snapshot. We may try to do something fancier in the 
future.

> Handle HMS updates correctly while full update is being built
> -------------------------------------------------------------
>
>                 Key: SENTRY-874
>                 URL: https://issues.apache.org/jira/browse/SENTRY-874
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Hdfs Plugin
>    Affects Versions: 1.5.0
>            Reporter: Sravya Tirukkovalur
>             Fix For: 1.8.0
>
>
> We have two options here:
> 1. Have a lock for path update + notify sentry. So that a partial update 
> would just block until the full update completes building and notifying 
> Sentry.
> 2. Make sure path update duplicates are handled well in HMSPaths and 
> SentryPlugin



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to