Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-2714

[GH-806] [RC][WIP] Retry on MySql deadlock errors

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        doctrinebot Doctrine Bot added a comment -

        A related Github Pull-Request [GH-806] was closed:
        https://github.com/doctrine/doctrine2/pull/806

        Show
        doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-806] was closed: https://github.com/doctrine/doctrine2/pull/806

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            doctrinebot Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: