ACME HQDemo work items and pages, made up for Emargen's demo. Not a real company.
Operations / OPS-36

identity-service deploy rolled back: new requests and decisions failed in the EU for 9 minutes

Project
Operations
Type
Incident
Status
Done Done
Priority
Medium
Reporter
Oskar Lund <oskar.lund@acme-hq.example>
Assignee
Oskar Lund <oskar.lund@acme-hq.example>
Labels
sev3releaserollback
Components
identity-serviceinfrastructure
Created
14 Jul 2026, 13:14 UTC
Updated
15 Jul 2026, 08:30 UTC
Resolved
14 Jul 2026, 14:00 UTC

Description

Summary

Today's identity-service deploy carried a migration for request bundles that built an index on access_requests without CONCURRENTLY and added a foreign key in the same step. In the EU, with 3.4 million rows, writes to access_requests waited behind it: nobody could make a request or decide one from 15.12 to 15.21. We rolled back by hand. US and UK had deployed first and were fine (small tables).

Impact

EU clients only. About 140 requests and decisions failed with an error and had to be done again. Sign-in was not affected.

Timeline (Tuesday 14 July)

Cause

A migration written the quick way on a large table. CI doesn't check migrations; the pipeline doesn't roll back by itself.

Follow-ups

Linked issues

Comments (1)

Marek Nowak ยท 15 Jul 2026, 08:30 UTC

Bundles migration redeployed the slow way: nullable column, index built concurrently (4 minutes in the EU), foreign key added NOT VALID and validated after. No lock waits.