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

Review request for ranger, Madhan Neethiraj and Subhrat Chaudhary.


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


Repository: ranger


Description
-------

Optimise the logic of Tag iterator

Problem Statement:
Tags in the iterator are not freed till the whole processing of all Tags are 
done. So, in the case where there are lot of tag, the performance can be 
impacted as the large number of tags are held by iterator for long time. This 
causes performance degradation while retrieving the tags from db.

Solution:
The individual tag as soon as it is processed should be removed from the 
iterator.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/biz/RangerTagDBRetriever.java 
1b7e8b272 


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


Testing
-------

Tested Manually by using bulk tags.


Thanks,

Ankita Sinha

Reply via email to