]
Tom Jenkinson updated JBTM-2786:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
MySQL JDBCStore occasionally gets deadlock exception
----------------------------------------------------
Key: JBTM-2786
URL:
https://issues.jboss.org/browse/JBTM-2786
Project: JBoss Transaction Manager
Issue Type: Task
Components: Transaction Core
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
Occasionally in QA tests we see the MySQL CI job fail with messages about deadlocks.
From what I can see from
http://stackoverflow.com/questions/2332768/how-to-avoid-mysql-deadlock-fo...
it can be because the where clauses are not ordered the same so a table lock can happen.
Reordering the where clauses would hopefully fix this.