-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73301/
-----------------------------------------------------------

(Updated April 29, 2021, 4:02 p.m.)


Review request for ranger, Madhan Neethiraj, Ramesh Mani, and Velmurugan 
Periasamy.


Changes
-------

Addressed review comment


Bugs: RANGER-3253
    https://issues.apache.org/jira/browse/RANGER-3253


Repository: ranger


Description
-------

Ranger admin, when incremental policies are enabled, retrieves changes to 
policies from database since last provided policy-version and applies these 
changes on the cached policies to compute new set of policies. This computation 
needs to be more resilient - for example - if a change suggests that a policy 
is created, but it already exists in the policy-cache, then it should not be 
added again.


Diffs (updated)
-----

  
agents-common/src/main/java/org/apache/ranger/plugin/model/RangerPolicyDelta.java
 1d2b1432b 
  
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
 f92cd3f7b 
  
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerPolicyDeltaUtil.java
 4661f79b9 
  security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java 
4fb71f0b7 
  
security-admin/src/main/java/org/apache/ranger/common/RangerServicePoliciesCache.java
 1176e0b9e 
  security-admin/src/main/java/org/apache/ranger/db/XXPolicyChangeLogDao.java 
0a1d1c142 


Diff: https://reviews.apache.org/r/73301/diff/5/

Changes: https://reviews.apache.org/r/73301/diff/4-5/


Testing
-------

Passes all unit tests.


Thanks,

Abhay Kulkarni

Reply via email to