Files
usenet-indexer/tests/functional
Daan MeijerandClaude Opus 5.5 2178847513
Test and deploy / test (push) Successful in 52s
Test and deploy / deploy (push) Successful in 1m23s
Stop refilling parts of binaries that are already a file
Crossposts, reposts and backfill ranges keep bringing articles of files
that worker:file already created. Ingest inserted their header parts again,
and GC's copied-parts pass (which searched all binaries for parts on every
batch) removed only 150k-450k per sweep: parts grew to 68M rows, 56M of
them belonging to finished files, and the 23 GB table paused the backfill.

- Ingest skips header parts (no per-part CRC) for binaries with a file_id.
- GC drops copied parts with a cursor over binaries, 2000 per statement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 02:53:11 +02:00
..
2026-09-29 00:32:01 +02:00
2026-09-29 00:32:01 +02:00