pingqiuandClaude Opus 5.5 61068fc9bf transport: the epoch table drops rows above the recovered next LSN at load, and keeps at most 512 rows
A primary that adopted an epoch over an unsynced tail, lost the tail in a
crash and adopted the epoch again kept the row's higher first LSN: its new
writes below it were attributed to the previous epoch, so an old primary's
unacknowledged tail in that range reconciled as shared. The ingress now
trims rows above the store's next LSN after recovery, and the next note
appends the row at its real first LSN. Every write keeps the newest 512
rows, so the record always fits the read bound; the rebuild-done list is
bounded the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:39:50 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%