Commit graph

5 commits

Author SHA1 Message Date
Silas Brack
07490efc28 Simplify moar 2026-03-07 13:23:38 +01:00
Silas Brack
7f3ec69cf6 Simplify 2026-03-07 13:09:53 +01:00
Silas Brack
2fad27efc6 Add rebalance tool with --dry-run support
Pure plan_rebalance() computes diffs between current and desired placement.
Execution copies blobs to new volumes, updates index, deletes from old.
Skips keys where copy fails. Includes unit tests for planning logic.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:40:36 +01:00
Silas Brack
4f10489b13 Add rebuild tool: scan nginx volumes to reconstruct SQLite index
Walks nginx autoindex JSON recursively, merges replicas across volumes,
and bulk-inserts into a fresh database. Also adds reqwest json feature.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 10:30:15 +01:00
Silas Brack
68ae92e4bf Add integration tests 2026-03-07 10:17:52 +01:00