]> git.giacomolli.uk - onechat/commitdiff
Resume queued appends at their saved log ID
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 05:06:24 +0000 (02:06 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 05:06:24 +0000 (02:06 -0300)
Memory saves a queued message's position before it appends under the
write lock. Recovery reads that position or completes its append, so a
stop between the queue save and the log write cannot repeat the message.
The queue owns the saved position and stops delivery after a failure.


No differences found