What to do when an application running on prorm misbehaves in production.These are written for the person on call for your application — not for
operating any particular cloud. They assume you have a database somewhere, a
pool in front of it, and an incident in progress.Start with the incident checklist if you do not yet know which one you need.Failover — The database failed over, or you are about to make it. Deploying klock v2 — For prod-orm operators, not application on-call: the root key ceremony, keys, the klock service, migrations and capability enforcement. What prorm does and does not do for you#
It retries a narrow, well-defined set of failures — timeouts, lock
contention, and connections that timed out or could not reach the host — and
nothing else. A constraint violation is never retried, because retrying it
would fail identically.[!IMPORTANT]
It does not fail over, re-resolve DNS on its own schedule, or hold
traffic while a database restarts. Those are the pool's and the driver's
job, and the runbooks above say what to configure so they do it well.
Modified at 2026-10-04 00:40:16