[
https://issues.apache.org/jira/browse/SENTRY-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kalyan Kalvagadda updated SENTRY-2545:
--------------------------------------
Fix Version/s: 2.3.0
2.2.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Rolling back Privilege Cache to SimplePrivilegeCache does not work
> ------------------------------------------------------------------
>
> Key: SENTRY-2545
> URL: https://issues.apache.org/jira/browse/SENTRY-2545
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.1
> Reporter: Na Li
> Assignee: Na Li
> Priority: Major
> Fix For: 2.2.0, 2.3.0
>
> Attachments: SENTRY-2545.001.patch, SENTRY-2545.002.patch
>
>
> The change in SENTRY-2539 uses TreePrivilegeCache as default implementation
> of privilege cache to improve authorization performance. However, rolling
> back to SimplePrivilegeCache does not work due to how Sentry creates the
> privilege cache.
> The solution is to create the privilege cache based on configured class name
> and handle different constructor inputs properly.
> More test cases are added to verify that rollback works.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)