[
https://issues.apache.org/jira/browse/SENTRY-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Kolbasov reassigned SENTRY-1481:
------------------------------------------
Assignee: Alexander Kolbasov
> Evaluate use of paths in MAuthzPathsMapping
> --------------------------------------------
>
> Key: SENTRY-1481
> URL: https://issues.apache.org/jira/browse/SENTRY-1481
> Project: Sentry
> Issue Type: Improvement
> Affects Versions: sentry-ha-redesign
> Reporter: Sravya Tirukkovalur
> Assignee: Alexander Kolbasov
>
> In SentryStore#retrieveFullPathsImage, I see that we essentially loop over
> all rows of MAuthzPathsMapping just to create a slightly different
> representation of it. This might be pretty expensive as this table can be
> huge? I think we should consider returning MAuthzPathsMapping instead.
> And in equals() of MAuthzPathsMapping, seems like we do not compare paths.
> Just want to make sure it is by design.
> I see that we are essentially treating this object as a map on authzObjName
> in application logic.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)