mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-2714: [GH-806] [RC][WIP] Retry on MySql deadlock errors #3395
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 30, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of alex88:
Url: https://github.com/doctrine/doctrine2/pull/806
Message:
I've done an initial setup of a way to handle MySql deadlocks by retrying the transaction when using em->flush().
I've added 2 configuration variables, one to set how many times to retry and for how long to sleep between each try.
Let me know if this can be merged, is useless or need improvements.
@doctrinebot commented on GitHub (Oct 29, 2013):
Comment created by @doctrinebot:
A related Github Pull-Request [GH-806] was closed:
https://github.com/doctrine/doctrine2/pull/806
@doctrinebot commented on GitHub (Oct 29, 2013):
Issue was closed with resolution "Invalid"