diff --git a/.changeset/stitch-claim-transaction.md b/.changeset/stitch-claim-transaction.md index 54b3cb75c5..bd5fe2fbfc 100644 --- a/.changeset/stitch-claim-transaction.md +++ b/.changeset/stitch-claim-transaction.md @@ -2,4 +2,4 @@ '@backstage/plugin-catalog-backend': patch --- -Fixed a race condition in the stitch queue claim logic where the `SELECT FOR UPDATE SKIP LOCKED` row locks were released before the `next_stitch_at` bump, allowing multiple workers to claim the same entity. Both statements now run inside a single transaction. +Fixed a race condition in the stitch queue and entity processing claim logic where `SELECT FOR UPDATE SKIP LOCKED` row locks were released before the subsequent timestamp bump, allowing multiple workers to claim the same rows. Both the select and update now run inside a single transaction for MySQL and PostgreSQL.