Files
logos-messaging-nim/logos_delivery
Ivan FBandClaude Opus 5 ee00a37d69 fix(postgres): stop a partition sequence when another instance holds the lock
Every DDL step took and released the advisory lock on its own, and a step
skipped because the lock was busy returned ok, so the caller walked on to the
next step believing the previous one had run. That is how a node ends up
dropping a constraint another instance already dropped -- a fatal error on a
sequence it never started. Tell "deferred" apart from "done" and abort the
whole sequence on the first deferral, leaving the work to the instance that
owns the lock.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 16:46:41 +02:00
..