Skip to content

Simplifies retry configuration for deadlocks and timeouts

Latest

Choose a tag to compare

@Ahed92Wakim Ahed92Wakim released this 14 Nov 11:02
33806a9
  • Breaking – Removed the retryable_exceptions config array entirely; deadlock (40001 / 1213) and lock-wait timeout (1205) retries are now controlled solely by the retry_on_deadlock and retry_on_lock_wait_timeout booleans. Any previously published config that referenced retryable_exceptions.* must be updated.

  • Behavioral – The retrier now retries based on those toggles only, automatically handling SQLSTATE-only deadlocks and lock-wait driver codes without extra config.

  • Behavioral – The lock-wait timeout override still runs only when retry_on_lock_wait_timeout is enabled, ensuring session statements remain opt-in.

  • Docs/Tests – README rewritten to match the streamlined options, and the Pest suite updated to cover the new retry rules and edge cases.