mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
61068fc9bfd193c3f31bf4684e8a6ffaf820abed
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>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%