mirror of
https://github.com/block/buzz.git
synced 2026-11-24 18:21:59 +00:00
docs(db): explain invite repair recovery after lock timeout
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@seiler-test.communities.public.builderlabstaging.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
-- statement_timeout bounds the entire DO invocation, including all batches;
|
||||
-- COMMIT does not restart it. On timeout, committed batches remain repaired,
|
||||
-- the current batch rolls back, and ON_ERROR_STOP skips the final zero check.
|
||||
-- A lock_timeout stop likewise keeps committed batches; keep admission closed
|
||||
-- and rerun after resolving lock contention.
|
||||
-- Keep admission closed and rerun. If scanning the repaired prefix consumes
|
||||
-- the budget, choose a larger finite invocation budget with psql's
|
||||
-- -v invite_repair_timeout=10min (the default is 2min).
|
||||
|
||||
Reference in New Issue
Block a user