mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
Within one LogBuffer timestamps only increase, but a new buffer starts LastTsNs at 0, so a leader whose clock is behind the previous leader's stamped new messages earlier than what was already stored, and a subscriber resuming by timestamp from the last stored message dropped them. OffsetRange now also records the newest ts_max of the partition's log and parquet files, and loading a partition seeds LastTsNs with it, so the buffer bumps new messages past it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>