Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
; SQL []; Deadlock found when trying to get lock; try restarting transaction; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
org.springframework.dao.DeadlockLoserDataAccessException:
### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
### The error may exist in com/dingliantech/trendfinder/dao/BOrderMapper.java (best guess)
### The error may involve com.dingliantech.trendfinder.dao.BOrderMapper.calculateOrderListAmt-Inline
### The error occurred while setting parameters
### SQL: CALL sp_calculate_order_list_amt(?, ?, ?, ?)
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
集群架构下,高并发调用存储过程死锁问题解决方案
最新推荐文章于 2021-02-22 16:14:00 发布