Repository navigation
Release v2.2.2
v2.2.2
Changelog
DoctrineDeadlockRetry: only driver-level deadlocks (SQLSTATE 40001 / MySQL 1213) are retried. See UPGRADING.
Fixed
- Deadlock detection is limited to driver errors. Code
1213matched on any exception in the chain, so an
application exception using that code replayed the operation. OnlyDeadlockException, DBAL driver exceptions and
PDOException(SQLSTATE40001or MySQL1213) are retried now.
Documentation
- USAGE: call
retry()/flush()outside your own transactions; a deadlock rollback undoes the outer transaction.
What's Changed
- fix: retry only on driver-level deadlocks by @HecFranco in #54
Full Changelog: v2.2.1...v2.2.2