【六袆 - BUG】MySQL 实战业务记录一次死锁;Deadlock found when trying to get lock; try restarting transaction;

查看业务日志

### Error updating database.  Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: insert into wf_mq_message (id, content, type, create_time)         values (?, ?, ?, ?)
### Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction
; Deadlock found when trying to get lock; try restarting transaction; nested exception is com.mysql.cj.jdbc.exceptions.MySQLTransactionRo

你可能感兴趣的:(Mysql技术相关,bug,mysql,数据库)