[
https://issues.apache.org/jira/browse/RANGER-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646542#comment-17646542
]
Ramachandran commented on RANGER-2884:
--------------------------------------
[~starphin] [[email protected]] : As part of the below ticket we addressed
to fetch the policy for the given policyName and serviceName
RANGER-4012 :getPolicyByName searches policy by serviceName, policyName simply
by traverse all policies in RangerServicePoliciesCache instead of DB
> Search policies from db store instead of filtering by
> RangerServicePoliciesCache in ranger admin
> ------------------------------------------------------------------------------------------------
>
> Key: RANGER-2884
> URL: https://issues.apache.org/jira/browse/RANGER-2884
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Affects Versions: 2.0.0, 1.2.0
> Reporter: star
> Assignee: star
> Priority: Major
>
> Now, ranger admin searches policies by user name or group name simply by
> traverse all policies in RangerServicePoliciesCache. However It take more
> than 10 seconds to search policies when there are millions of policies, which
> is not acceptable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)