Resolves #1.
- Enable
PRAGMA auto_vacuum = INCREMENTALandPRAGMA journal_size_limit = 33554432(32 MiB) inCacheStore::init_schema. - After
replace_full_scancommits, runPRAGMA incremental_vacuum(orPRAGMA auto_vacuum = INCREMENTAL; VACUUM;once for legacy caches) andPRAGMA wal_checkpoint(TRUNCATE)so-waland freelist pages do not accumulate multi-GB bloat. - Added regression test
full_scan_truncates_wal_and_reclaims_freelist_pages.
Verified: cargo fmt --check, cargo clippy --all-targets --all-features -- -D warnings, and cargo test (28 unit + 2 e2e) all pass.