You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhay Kulkarni <ak...@hortonworks.com> on 2023/10/27 23:32:34 UTC

Re: Review Request 74702: RANGER-4478: Incorrect trie updates when processing deltas - Part 3

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

(Updated Oct. 27, 2023, 11:32 p.m.)


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


Summary (updated)
-----------------

RANGER-4478: Incorrect trie updates when processing deltas - Part 3


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


Repository: ranger


Description
-------

When a plugin is configured to receive policy-deltas, policy engine processing of the deltas to update its resource tries can result some policies to be not included in the trie.

A node that corresponds to a matcher with recursive set to true is not deleted from the Trie tree.


Diffs
-----

  agents-common/src/main/java/org/apache/ranger/plugin/policyengine/RangerResourceTrie.java d95da7c50 


Diff: https://reviews.apache.org/r/74702/diff/1/


Testing
-------

Passed all unit tests.


Thanks,

Abhay Kulkarni