Files
usenet-indexer/app
Daan MeijerandClaude Opus 5.5 508d8b5723
Test and deploy / test (push) Successful in 24s
Test and deploy / deploy (push) Skipped
Rebuild: one advisory lock per group when writing releases, not per key
A picture group's batch has 30-55k release keys; an advisory lock each
ran Postgres out of shared memory (max_locks_per_transaction), and those
batches failed with HTTP 500 (the ranges went back, nothing stored).
A chunk only matches releases of its range's group, so one lock per
group serializes exactly the writers that could both start an upload.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 14:10:48 +02:00
..