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


Fix it, then Ship it!





security-admin/src/main/java/org/apache/ranger/patch/cliutil/TrxLogV2MigrationUtil.java
Lines 120 (patched)
<https://reviews.apache.org/r/75350/#comment315453>

    ok. Thanks for the details. It will help to add a comment in the code.


- Madhan Neethiraj


On Jan. 31, 2025, 7:08 a.m., Rakesh Gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75350/
> -----------------------------------------------------------
> 
> (Updated Jan. 31, 2025, 7:08 a.m.)
> 
> 
> Review request for ranger, Dineshkumar Yadav, Kishor Gollapalliwar, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, 
> sanket shelar, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-5123
>     https://issues.apache.org/jira/browse/RANGER-5123
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Fix the transaction log migration failure when executing 
> ranger-admin-transaction-log-migrate.sh on a fresh setup by checking for the 
> existence of the x_trx_log table before execution, ensuring a successful 
> migration.
> 
> 
> Diffs
> -----
> 
>   distro/src/main/assembly/admin-web.xml 748632809 
>   embeddedwebserver/scripts/ranger-admin-transaction-log-migrate.sh  
>   
> security-admin/src/main/java/org/apache/ranger/patch/cliutil/TrxLogV2MigrationUtil.java
>  bb8ba0b0b 
> 
> 
> Diff: https://reviews.apache.org/r/75350/diff/4/
> 
> 
> Testing
> -------
> 
> The ranger-admin-transaction-log-migrate.sh script has been tested and 
> verified to check for the x_trx_log table's existence, handling both missing 
> and existing tables without failure, ensuring successful migration.
> 
> 
> Thanks,
> 
> Rakesh Gupta
> 
>

Reply via email to