This patch release makes clustering full sync faster and more robust by pre-calculating and persisting follower checksums, fixes wrong checksums for files appended to mid-content, clears stale follower file handles before resync, and fixes an unacked message count underflow in the HTTP API. LavinMQ is now built with Crystal 1.21.
Fixed
- Persist follower checksums incrementally during full sync, so an interrupted follower doesn't rehash all files on reconnect #1834
- Pre-calculate follower checksums before connecting to the leader, shortening the time the leader's full-sync lock is held #2164
- Reuse cached checksums in the capped full sync pass #2165
- Fix wrong checksums for files appended to mid-content #2167
- Clear stale clustering follower file handles before resync #2161
- Stop the follower log fiber when streaming stops #2166
- Don't double-decrement the unacked message count when an HTTP API basic get partially fails #2168