My application uses MySQL with InnoDB tables and replication. We're starting to encounter an issue on a few particular parts of the application where we're getting tracebacks like this:
<class 'sqlalchemy.exc.OperationalError'>: (OperationalError) (1213, 'Deadlock found when trying to get lock; try restarting transaction') According to MySQL documentation, there are a large variety of circumstances in which this could happen, mostly innocuous in nature. The official recommended solution to the problem is: "retry the transaction". Does SQLAlchemy offer some method for me to catch this exception and then retry the transaction? Thanks in advance! -- Jonathan LaCour http://cleverdevil.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---