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

Sravya Tirukkovalur updated SENTRY-1356:
----------------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: SENTRY-1314

> Evaluate the current approach of updates from HMS
> -------------------------------------------------
>
>                 Key: SENTRY-1356
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1356
>             Project: Sentry
>          Issue Type: Sub-task
>            Reporter: Sravya Tirukkovalur
>
> Would be good to reevaluate the current approach of HMS updates. Currently, 
> update contains a list of addPaths and delPaths. Some concerns we need to 
> evaluate:
> 1. Hard to capture order in this model.
> 2. In UpdateatableAuthzPaths.applyPartialUpdate we seem to be adding the 
> newPaths first and removing the delPaths. One caveat here is: if the newPath 
> and oldPath are same, we end up deleting the path. See SENTRY-1346 for one 
> such example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to