----------------------------------------------------------- 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