[
https://issues.apache.org/jira/browse/SENTRY-1936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16164037#comment-16164037
]
Misha Dmitriev commented on SENTRY-1936:
----------------------------------------
Turns out that the above simple patch doesn't work. Data Nucleus either doesn't
call setRoleName() etc, or rewrites them completely - the handwritten code
there doesn't run, anyway.
> Intern role names in Sentry APIs
> --------------------------------
>
> Key: SENTRY-1936
> URL: https://issues.apache.org/jira/browse/SENTRY-1936
> Project: Sentry
> Issue Type: Improvement
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Alexander Kolbasov
> Assignee: Misha Dmitriev
> Attachments: SENTRY-1936.01.patch
>
>
> HS2 often issues calls to list_sentry_roles_by_group which fetches the same
> set of roles and this causes duplicate strings since roles are the same. Role
> names should be interned to remove duplicates.
> [[email protected]] found the problem by analyzing Sentry dumps
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)