ACME HQDemo work items and pages, made up for Emargen's demo. Not a real company.
Engineering / ENG-1548

Migrations on large tables never take a lock that stops writes

Project
Engineering
Type
Task
Status
Done Done
Priority
High
Reporter
Oskar Lund <oskar.lund@acme-hq.example>
Assignee
Marek Nowak <marek.nowak@acme-hq.example>
Labels
incident
Components
identity-serviceinfrastructure
Fix versions
identity-service 2026.07.24
Sprint
Sprint 47
Created
15 Jul 2026, 09:30 UTC
Updated
24 Jul 2026, 14:00 UTC
Resolved
24 Jul 2026, 14:00 UTC

Description

OPS-36: a migration built an index on access_requests (3.4 million rows in the EU) without CONCURRENTLY and added a foreign key in the same step. Writes to access_requests waited for 9 minutes: no new requests, no decisions.

Linked issues

Comments (0)

No comments.