You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Alexander Kolbasov (JIRA)" <ji...@apache.org> on 2016/09/28 19:10:20 UTC

[jira] [Updated] (SENTRY-1481) Evaluate use of paths in MAuthzPathsMapping

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

Alexander Kolbasov updated SENTRY-1481:
---------------------------------------
    Summary: Evaluate use of paths in MAuthzPathsMapping   (was: Sentry-1325 follow up)

> 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
>
> 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.4#6332)