mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-18 07:30:29 +00:00
PGlite's single-user backend has no background checkpointer, so nothing written during a scan is checkpointed until shutdown, and a crash would replay the whole scan's WAL. Run CHECKPOINT right after the post-scan ANALYZE. The log directory itself stays around max_wal_size because PostgreSQL recycles segments rather than deleting them.