In the logs you can also see this error: DBAPIError exception wrapped from (pymysql.err.InternalError) (1305, u'SAVEPOINT sa_savepoint_1 does not exist') [SQL: u'ROLLBACK TO SAVEPOINT sa_savepoint_1']
which indicates a deadlock + unwind/restart.
In the logs you can also see this error: err.InternalErr or) (1305, u'SAVEPOINT sa_savepoint_1 does not exist') [SQL: u'ROLLBACK TO SAVEPOINT sa_savepoint_1']
DBAPIError exception wrapped from (pymysql.
which indicates a deadlock + unwind/restart.