Merge pull request #33281 from backstage/freben/search-fk-safe-migration

fix(catalog): make search FK migration safe for large databases
This commit is contained in:
Fredrik Adelöw
2026-03-12 10:07:18 +01:00
committed by GitHub
3 changed files with 335 additions and 121 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Make the `search` foreign key catalog migration non-blocking on large tables by using batch deletes and PostgreSQL `NOT VALID`/`VALIDATE` to reduce lock duration