pymysql.err.OperationalError: 1213 Deadlock

pymysql.err.OperationalError: (1213, ‘Deadlock found when trying to get lock; try restarting transaction’)

Seen this severally too.

my MariaDb Database setup is Galera Cluster with 3 node. Am not sure if ths is cluster issue. What is your setup?

Well, Default installation, via easy install. No cluster.

What is your database size; Are you running multiple-tenant? i got this error while updating a custom field from my custome app and try to refreh the custome field view every 2 second.


Two companies.

I got one while trying to update a custom field too. But there’re many more from normal user operations, and from repost item job.

Am going do some research on this error i will provide you any updat on what i find.