Catalogue / sentry-2015-xid-wraparound

Transaction ID wraparound protection halted writes on Sentry's Postgres; the service was down most of a working day until one huge table was truncated

Sentry, 2015. Primary Postgres database of hosted Sentry.

Organisation
Sentry
Evidence
Incident report
Source
Transaction ID Wraparound in Postgres

Sentry blog, published 2015-07-23

Records

Failure#f1

Autovacuum did not keep ahead of transaction ID use, and Postgres halted writes to protect against wraparound

Decision#d1

Truncate the one unvacuumed table to restore writes at once, not wait for a single-user vacuum

Decision#d2

Flush the whole backlog of queued events while the database could not take writes

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.