You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by Mahesh Bandal <ma...@gmail.com> on 2020/04/17 06:23:16 UTC

Re: Review Request 72373: RANGER-2797 : changing error to debug as it does not make impact on transactions

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

(Updated April 17, 2020, 6:23 a.m.)


Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.


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


Repository: ranger


Description
-------

While creating multiple roles simultaneously, role creation succeeded but error  occurs while updating GlobalState Version. Due to this transaction is rolled back  because transaction was set to RollbackOnly. This error is logged in log-file which does not make any impact on current behaviour. Hence it can be ignored.


Diffs
-----

  security-admin/src/main/java/org/apache/ranger/common/db/RangerTransactionSynchronizationAdapter.java 536ca29e7 


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


Testing
-------

1. Created/deleted multiple roles.
2. Roles created/deleted successfully without logging any stack-trace of error.


Thanks,

Mahesh Bandal


Re: Review Request 72373: RANGER-2797 : changing error to debug as it does not make impact on transactions

Posted by Mehul Parikh <xs...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72373/#review220346
-----------------------------------------------------------


Ship it!




Ship It!

- Mehul Parikh


On April 17, 2020, 6:23 a.m., Mahesh Bandal wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72373/
> -----------------------------------------------------------
> 
> (Updated April 17, 2020, 6:23 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Abhay Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2797
>     https://issues.apache.org/jira/browse/RANGER-2797
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> While creating multiple roles simultaneously, role creation succeeded but error  occurs while updating GlobalState Version. Due to this transaction is rolled back  because transaction was set to RollbackOnly. This error is logged in log-file which does not make any impact on current behaviour. Hence it can be ignored.
> 
> 
> Diffs
> -----
> 
>   security-admin/src/main/java/org/apache/ranger/common/db/RangerTransactionSynchronizationAdapter.java 536ca29e7 
> 
> 
> Diff: https://reviews.apache.org/r/72373/diff/1/
> 
> 
> Testing
> -------
> 
> 1. Created/deleted multiple roles.
> 2. Roles created/deleted successfully without logging any stack-trace of error.
> 
> 
> Thanks,
> 
> Mahesh Bandal
> 
>