You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by gooch gooch via Review Board <no...@reviews.apache.org> on 2025/02/20 16:01:41 UTC
Review Request 75365: RANGER-5150: Remove the redundant update operation for the policy version.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75365/
-----------------------------------------------------------
Review request for ranger.
Repository: ranger
Description
-------
Modifying roles should not affect the update of the policy version. After removing this code, apart from not impacting the original authorization and authentication, what's important is that the impact of this code on performance has been verified in the production environment: After modifying the roles dozens of times, after a certain period, the P50 of the client's policy retrieval has decreased from dozens of seconds to the millisecond level.
Diffs
-----
security-admin/src/main/java/org/apache/ranger/biz/RoleDBStore.java f9296f699
Diff: https://reviews.apache.org/r/75365/diff/1/
Testing
-------
Tested the policies and roles for full and incremental data retrieval using the Spark SQL engine, and the permissions all took effect normally.
Thanks,
gooch gooch