----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/74084/#review224612 -----------------------------------------------------------
Ship it! Ship It! - Abhay Kulkarni On Aug. 9, 2022, 10:01 p.m., Abhishek Kumar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/74084/ > ----------------------------------------------------------- > > (Updated Aug. 9, 2022, 10:01 p.m.) > > > Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, > Sailaja Polavarapu, and Velmurugan Periasamy. > > > Bugs: RANGER-3853 > https://issues.apache.org/jira/browse/RANGER-3853 > > > Repository: ranger > > > Description > ------- > > It was observed during ranger upgrades that the java patch J10054 took more > than 3 hours while trying to update users/groups to the db. > Therefore, persisting the updates immediately using transaction manager to > boost performance. > > > Diffs > ----- > > > security-admin/src/main/java/org/apache/ranger/patch/PatchForSyncSourceUpdate_J10054.java > bbde1a4df > > > Diff: https://reviews.apache.org/r/74084/diff/1/ > > > Testing > ------- > > Tested on remote cluster using 15k users and 40k groups. > Brings down the time to under half a minute. > > > Thanks, > > Abhishek Kumar > >