-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/71552/
-----------------------------------------------------------
Review request for ranger.
Bugs: RANGER-2594
https://issues.apache.org/jira/browse/RANGER-2594
Repository: ranger
Description
-------
Deletion of large policies (those with several thousand users or resources) is
slow - one reason for this is that we fetch the entire policy during
validation, when we only need to check if the policy exists or not.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerPolicyValidator.java
a85410782
agents-common/src/main/java/org/apache/ranger/plugin/model/validation/RangerValidator.java
f31483e97
agents-common/src/main/java/org/apache/ranger/plugin/store/ServiceStore.java
ba7407fc4
security-admin/src/main/java/org/apache/ranger/biz/ServiceDBStore.java
85db57719
Diff: https://reviews.apache.org/r/71552/diff/1/
Testing
-------
Unit tests, and tested end-to-end
Thanks,
Andrew Luo