OpenChronicle

1 contributions · GitHub →

Compact overwriting concurrent writes fix 2026-04-20

compact_file LLM rewrite could overwrite entries appended by concurrent reducers. Added compare-and-swap writeback: re-read the file under per-file lock before writing, skip compaction if changed, and refresh FTS rows atomically inside a SQLite savepoint.