You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2022/12/09 16:17:00 UTC

[jira] [Comment Edited] (RANGER-2883) Update RangerServicePoliciesCache incrementally when delete/update/add instead of reloading all policies from the db store

    [ https://issues.apache.org/jira/browse/RANGER-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17645373#comment-17645373 ] 

Madhan Neethiraj edited comment on RANGER-2883 at 12/9/22 4:16 PM:
-------------------------------------------------------------------

[~ramackri]  - updating of policy cache incrementally has been in place since Ranger 2.0, via RANGER-2341. This will require following configuration to be setup in Ranger admin:
{noformat}
ranger.admin.supports.policy.deltas=true
ranger.admin.supports.in.place.policy.updates=true {noformat}


was (Author: madhan.neethiraj):
[~ramackri]  - updating of policy cache incrementally has been in place since Ranger 2.0, via RANGER-2341.

> Update RangerServicePoliciesCache incrementally when delete/update/add instead of reloading all policies from the db store
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-2883
>                 URL: https://issues.apache.org/jira/browse/RANGER-2883
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 2.0.0, 1.2.0
>            Reporter: star
>            Assignee: star
>            Priority: Major
>
> To ensure strong consistency of RangerServicePoliciesCache with db store, all policies will be reload after even a single delete/update/add operation. While reloading all policies from db store is very time consuming. So it's impossible to add a million policies through http interface.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)