From 1d10fc41e81ed215eea636b10eba20c41dbac928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Wed, 20 May 2026 09:59:37 +0200 Subject: [PATCH] Update changeset and PR description to cover both fix sites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) Signed-off-by: Fredrik Adelöw --- .changeset/stitch-claim-transaction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.