postgres-drop-stale-replication-slot
The procedure as a graph, on its own page — zoom it, print it, send somebody the address. Back to the record for the steps, the trust panel and the provenance.
Procedure
The same procedure, read in order
- start start. Goes next to s1
- check Confirm the slot is inactive. Goes on_fail to s9; next to s2
- escalate Escalate to the database owner. Terminal
- action Drop the replication slot, DEL (destructive), requires approval. Goes rollback to s4; next to s3
- check Confirm WAL is releasing. Goes on_fail to s4; next to __end_success
- action Recreate the replication slot, RW (reversible-write). Goes next to __end_aborted
- end success. Terminal
- end aborted. Terminal