-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61199/
-----------------------------------------------------------
Review request for ranger and Madhan Neethiraj.
Bugs: RANGER-1714
https://issues.apache.org/jira/browse/RANGER-1714
Repository: ranger
Description
-------
With the introduction of trie pre-filter, dynamic sorting of policies for
evaluation (based on usage count) wouldn't help much - since the number of
policies to evaluate will be much smaller after trie pre-filter. In fact,
dynamic sorting might add unnecessary overheads - in periodically scanning
through the trie and creating sorted lists for each node. It will be better to
turn-off this dynamic sorting when trie-prefilter is enabled.
Diffs
-----
agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerPolicyRepository.java
1ce2386
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerPolicyEvaluator.java
191ad98
agents-common/src/main/java/org/apache/ranger/plugin/util/RangerResourceTrie.java
c22ecde
Diff: https://reviews.apache.org/r/61199/diff/1/
Testing
-------
Tested in a local VM
Thanks,
Abhay Kulkarni