You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Madhan Neethiraj <ma...@apache.org> on 2025/05/21 23:31:02 UTC

Re: Review Request 75355: RANGER-5123: Handle Transaction Log Migration for Fresh Install

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


Ship it!




Ship It!

- Madhan Neethiraj


On Feb. 4, 2025, 6:46 a.m., Rakesh Gupta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/75355/
> -----------------------------------------------------------
> 
> (Updated Feb. 4, 2025, 6:46 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 54fba59ba 
>   embeddedwebserver/scripts/ranger-admin-transaction-log-migrate.sh  
>   security-admin/src/main/java/org/apache/ranger/patch/cliutil/TrxLogV2MigrationUtil.java be582199a 
> 
> 
> Diff: https://reviews.apache.org/r/75355/diff/1/
> 
> 
> 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
> 
>