阿里云后台检测有死锁,如图:

Deadlock found when trying to get lock; try restarting transaction图示很清楚,sql 2未执行完,sql 1已经执行完了,sql 2未执行成功,需要回滚,等待了sql 1造成死锁。因为当前sql的服务层加了

@Transactional事物的。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
猜你喜欢
  • 2021-06-11
  • 2021-08-11
  • 2022-02-24
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案