Catalogue / joyent-2015-manta-wraparound-autovacuum

A wraparound autovacuum and a waiting DROP TRIGGER blocked queries on the metadata table of one Joyent Manta PostgreSQL shard, on and off for about ten hours

Joyent, 2015. Manta metadata tier.

Organisation
Joyent
Evidence
Incident report
Source
Postmortem for July 27 outage of the Manta service

Joyent blog, published 2015-08-03 (Read from an Internet Archive copy captured on 2022-05-28.)

Records

Failure#f1

An autovacuum that will not yield, an exclusive-lock request behind it, and the metadata table's queries behind that

Decision#d1

Drop and recreate a trigger, normally on reconnect, as a simple idempotent way to keep it current

Decision#d2

Raise the wraparound autovacuum threshold to restore service instead of waiting for another full vacuum

Decision#d3

Speed up the running autovacuum by prefetching files and patching out its cost delay

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.