Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.3.0
-
None
-
None
Description
Using jdbc with Mysql InnoDB, can lead to following errors
Deadlock found when trying to get lock;try restarting transaction
and messages stuck in database.
The problem is described here http://dev.mysql.com/doc/refman/5.0/en/innodb-lock-modes.html and is caused by unsynced cleanup task.
Current workaround is to turn off cleanup task like this
<jdbcPersistenceAdapter dataSource="#mysql-ds" ... cleanupPeriod="0"/>
Attachments
Issue Links
- breaks
-
AMQ-6370 JDBC message store - jdbc connection pool - potential deadlock with cleanup task when pool exhausted
- Resolved