sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Na Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-2244) alter Sentry Role or User at Grant Privilege can avoid extra query to Database
Date Mon, 04 Jun 2018 02:57:00 GMT

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

Na Li updated SENTRY-2244:
--------------------------
    Summary:  alter Sentry Role or User at Grant Privilege can avoid extra query to Database
 (was: alterSentryRoleGrantPrivilegeCore can avoid extra query to Database)

>  alter Sentry Role or User at Grant Privilege can avoid extra query to Database
> -------------------------------------------------------------------------------
>
>                 Key: SENTRY-2244
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2244
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Major
>         Attachments: SENTRY-2244.001.patch
>
>
> In alterSentryRoleGrantPrivilegeCore and alterSentryUserGrantPrivilegeCore , all of the
privileges of a role or a user are already fetched from DB. In following processing, there
is no need to query DB to get privilege INSERT, SELECT, ALL of this role again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message