Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2714

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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
        Doctrine Bot added a comment -

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: