ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Luo <andrewluotechnolog...@outlook.com>
Subject Re: Review Request 71554: RANGER-2595: Improve policy delete performance using batch delete
Date Wed, 30 Oct 2019 05:37:12 GMT

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



Rebased, can someone please take another look?

- Andrew Luo


On Oct. 28, 2019, 6:41 a.m., Andrew Luo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/71554/
> -----------------------------------------------------------
> 
> (Updated Oct. 28, 2019, 6:41 a.m.)
> 
> 
> Review request for ranger.
> 
> 
> Bugs: RANGER-2595
>     https://issues.apache.org/jira/browse/RANGER-2595
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Policy deletion is slow for policies that have a large number of users or resources.
 This patch uses batch SQL deletion to speed up deletion.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/biz/PolicyRefUpdater.java 055cd382b

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefAccessTypeDao.java 1ef01bb28

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefConditionDao.java 2c04ab483

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefDataMaskTypeDao.java 258e3b0ba

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefGroupDao.java 08829d4f7

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefResourceDao.java e259ee864

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefRoleDao.java dbcacb716

>   security-admin/src/main/java/org/apache/ranger/db/XXPolicyRefUserDao.java f7b6131c6

>   security-admin/src/main/resources/META-INF/jpa_named_queries.xml 6cc479991 
> 
> 
> Diff: https://reviews.apache.org/r/71554/diff/3/
> 
> 
> Testing
> -------
> 
> Tested manually, ran build/tests
> 
> 
> Thanks,
> 
> Andrew Luo
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message