Changelog
Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.
Go Version
- 1.25.5
Dependencies
Improved
JetStream
- Creating consumer file stores no longer contends on the stream lock, improving consumer create performance on heavily loaded streams (#7700)
Fixed
JetStream
- Raft will no longer allow multiple membership changes to take place concurrently (#7565, #7609)
- Raft will no longer count responses from peer-removed nodes towards quorum (#7589)
- Raft quorum counting has been refactored so the implicit leader ack is now only counted if still a part of the membership (#7600)
- Raft now writes the peer state immediately when handling a peer-remove to ensure the removed peers cannot unexpectedly reappear after a restart (#7602)
- Raft will no longer allow peer-removing the one remaining peer (#7610)
- Add peer operations to Raft can no longer result in disjoint majorities (#7632)
- Raft groups should no longer readmit a previously removed peer if a heartbeat occurs between the peer removal and the leadership transfer (#7649)
- Raft single node elections now transition into leader state correctly (#7642)
- R1 streams will no longer incorrectly drift last sequence when exceeding limits (#7658)
- Deleted streams are no longer wrongfully revived if stalled on an upper-layer catchup (#7668)
- A panic that could happen when receiving a shutdown signal while JetStream is still starting up has been fixed (#7683)
- JetStream usage stats now correctly reflect purged whole blocks when optimising large purges (#7685)
- Recovering JetStream encryption keys now happens independently of the stream index recovery, fixing some cases where the key could be reset unexpectedly if the index is rebuilt (#7678)
- Non-replicated file-based consumers now detect corrupted state on disk and are deleted automatically (#7691)
- Raft no longer allows a repeat vote for the same term after a stepdown or leadership transfer (#7698)
- Replicated consumers are no longer incorrectly deleted if they become leader just as JetStream is about to shut down (#7699)