You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Abhishek Kumar <ab...@gmail.com> on 2022/08/10 19:59:48 UTC

Review Request 74085: RANGER-3854: Java Patch J10056 runs long during upgrades.

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

Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

It was observed during ranger upgrades that the java patch J10056 took more than around 1 hr 40 mins while trying to update 50k users to the db.
Therefore, persisting the updates immediately using transaction manager to boost performance.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/patch/PatchForExternalUserStatusUpdate_J10056.java f1ed0978c 


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


Testing
-------


Thanks,

Abhishek  Kumar


Re: Review Request 74085: RANGER-3854: Java Patch J10056 runs long during upgrades.

Posted by Abhay Kulkarni <ak...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74085/#review224611
-----------------------------------------------------------


Ship it!




Ship It!

- Abhay Kulkarni


On Aug. 10, 2022, 7:59 p.m., Abhishek  Kumar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74085/
> -----------------------------------------------------------
> 
> (Updated Aug. 10, 2022, 7:59 p.m.)
> 
> 
> Review request for ranger, Abhay Kulkarni, Madhan Neethiraj, Pradeep Agrawal, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-3854
>     https://issues.apache.org/jira/browse/RANGER-3854
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> It was observed during ranger upgrades that the java patch J10056 took more than around 1 hr 40 mins while trying to update 50k users to the db.
> Therefore, persisting the updates immediately using transaction manager to boost performance.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/patch/PatchForExternalUserStatusUpdate_J10056.java f1ed0978c 
> 
> 
> Diff: https://reviews.apache.org/r/74085/diff/1/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Abhishek  Kumar
> 
>