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

(Updated Aug. 13, 2018, 7:27 p.m.)


Review request for ranger, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, 
Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


Changes
-------

Also, made corresponding database transactions (for reading policy/tag data) 
read-only.


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


Repository: ranger


Description
-------

Ensure that any entities cached in JPA layer during policy/tag cache refresh 
are cleared when refresh is completed.


Diffs (updated)
-----

  security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyRetriever.java 
3e291d50c 
  security-admin/src/main/java/org/apache/ranger/biz/RangerTagDBRetriever.java 
789068fcb 


Diff: https://reviews.apache.org/r/68076/diff/4/

Changes: https://reviews.apache.org/r/68076/diff/3-4/


Testing
-------

Triggered policy/tag downloads from plugins. Ensured that policies/tags are 
correctly retrieved and downloaded to plugins. Ensured that if policy cache is 
refreshed as part of policy create/update, then any subsequent database 
interactions are completed in expected time.


Thanks,

Abhay Kulkarni

Reply via email to