[ 
https://issues.apache.org/jira/browse/FINERACT-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054511#comment-17054511
 ] 

Michael Vorburger commented on FINERACT-856:
--------------------------------------------

FINERACT-857 has one (of many, this happens fairly regularly..) example logs of 
this happening.

> Deadlock found when trying to get lock try restarting transaction
> -----------------------------------------------------------------
>
>                 Key: FINERACT-856
>                 URL: https://issues.apache.org/jira/browse/FINERACT-856
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Priority: Major
>
> The integration test logs sometimes show:
> {{Deadlock found when trying to get lock try restarting transaction}}
> I'm not clear whether those are log messages that can be ignored, because 
> there is retry logic in place (e.g. in/by OpenJPA?), or if this indicates 
> real failures which we must handle with a retry logic in the code... some 
> background:
> * https://dev.mysql.com/doc/refman/8.0/en/innodb-deadlocks.html
> * https://dev.mysql.com/doc/refman/8.0/en/innodb-deadlock-example.html
> * 
> https://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-found-when-trying-to-get-lock-try-restarting-trans
> * 
> https://stackoverflow.com/questions/17747906/getting-deadlock-found-when-trying-to-get-lock-try-restarting-transaction/17748793
> * https://dzone.com/articles/automatic-deadlock-retry
> * https://github.com/SOCI/soci/issues/518



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to