You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2018/05/31 15:03:00 UTC
[jira] [Updated] (SENTRY-2244) alterSentryRoleGrantPrivilegeCore
can avoid extra query to Database
[ https://issues.apache.org/jira/browse/SENTRY-2244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Na Li updated SENTRY-2244:
--------------------------
Issue Type: Sub-task (was: Improvement)
Parent: SENTRY-2151
> alterSentryRoleGrantPrivilegeCore 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
>
> In alterSentryRoleGrantPrivilegeCore, all of the privileges of a role 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)