diff --git a/ChangeLog b/ChangeLog index 358a0d864..0e1803cfc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,21 @@ Scheduled Release 8.2602.0 (aka 2026.02) 2026-12-?? - overall improved documentation via a large set of topic updates. +- 2026-01-16: queue: harden disk recovery after invalid .qi + This probably fixes rare but reported disk queue startup errors, at + least a subset of them (these cases were hard to reproduce). + Hardens disk-queue recovery after an invalid .qi so read/write pointers + realign and on-disk size is corrected. This prevents stuck queues and + stabilizes the daqueue dirty shutdown test. + Bug Fixes + - On anomaly (rd==wr and offsets equal), seek the read-delete cursor to + the writer, subtract deleted bytes from sizeOnDisk, and align the + read-dequeue cursor; keep draining if seek fails. + - Log errors when pointer resets or seeks fail. + - Add strm.Sync() to keep stream state consistent after pointer updates. + - Refactor invalid .qi recovery and startup seek errors into helpers. + - When spool read files are missing on startup, align read to write and + continue recovery. - 2026-01-16: core: fsync+atomic rename for pid file; abort on failure Empty pid files were reported by users, leading to supervision issues. This hardens startup so that the pid file is either durably written or