Sravya Tirukkovalur created SENTRY-1356:
-------------------------------------------
Summary: Evaluate the current approach of updates from HMS
Key: SENTRY-1356
URL: https://issues.apache.org/jira/browse/SENTRY-1356
Project: Sentry
Issue Type: Bug
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)