----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/73743/ -----------------------------------------------------------
(Updated Dec. 7, 2021, 1:23 a.m.) Review request for ranger, Kishor Gollapalliwar, Madhan Neethiraj, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy. Changes ------- RANGER-3538: Reduce the granularity of locking when building/retrieving a policy-engine within Ranger admin service Bugs: RANGER-3538 https://issues.apache.org/jira/browse/RANGER-3538 Repository: ranger Description (updated) ------- It is desirable to reduce the granularity of locking of critical sections in order to improve the throughput of Ranger admin while maintaining correctness in the face of multiple threads trying to build/retrieve required policy engine. Diffs (updated) ----- security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCache.java 5a69231ef security-admin/src/main/java/org/apache/ranger/biz/RangerPolicyAdminCacheForEngineOptions.java 224bdc258 Diff: https://reviews.apache.org/r/73743/diff/2/ Changes: https://reviews.apache.org/r/73743/diff/1-2/ Testing (updated) ------- Passed all unit tests. Thanks, Abhay Kulkarni