Transaction (Process ID xxx) was deadlocked on lock
Posted 龍☆
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Transaction (Process ID xxx) was deadlocked on lock相关的知识,希望对你有一定的参考价值。
Transaction (Process ID 161) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
--This will cause read transactions to not take any locks and not be blocked by existing locks ALTER DATABASE [febdb_SHIMAO] SET SINGLE_USER WITH ROLLBACK IMMEDIATE ALTER DATABASE [febdb_SHIMAO] SET READ_COMMITTED_SNAPSHOT ON; ALTER DATABASE [febdb_SHIMAO] SET ALLOW_SNAPSHOT_ISOLATION ON; ALTER DATABASE [febdb_SHIMAO] SET MULTI_USER
目前还不确认问题是否已解决。
以上是关于Transaction (Process ID xxx) was deadlocked on lock的主要内容,如果未能解决你的问题,请参考以下文章
No EntityManager with actual transaction available for current thread - cannot reliably process '
Django使用transaction.atomic“死锁”