Changelog
Refer to the 2.14 Upgrade Guide for backwards compatibility notes with 2.12.x. Please note that the 2.13.x version was skipped.
Go Version
- 1.26.11
Fixed
General
- Internal messages without a reply subject no longer include an extra space in the
MSGprotocol header (#8967)
JetStream
- Replicated consumers now attempt a final snapshot before closing their stores during shutdown, avoiding
Failed to install snapshot: store is closederrors (#8963) - WorkQueue consumer creates and updates now consistently reject overlapping filters, including removing all filters while another consumer exists (#8964)
- Encrypted WorkQueue streams on Windows no longer stall when key-file syncing races with message-block removal (#8958, contributed by @shishirdommeti)
- Consumer followers now clear stale pending acknowledgements when
DiscardOldevicts messages, preventing incorrect pending counts after the stream is empty (#8961, contributed by @choufraise) - Remote account usage updates and consumer configuration updates no longer stall route traffic on the JetStream lock, avoiding associated Raft quorum loss (#8972)
- Repeating message schedules now recover their next firing time correctly from outdated scheduling state, avoiding duplicate firings (#8942)
- Message schedules now fire only while they remain the last message on their subject, and transient read errors retry instead of removing schedules or publishing incorrect source content (#8942)
- Corrupt pending and redelivery counts in stored consumer state now return an error instead of causing excessive allocations or crashes (#8942)
- Filestore recovery now preserves valid records when truncating corrupt compressed blocks, and subsequent writes to encrypted blocks truncated to empty survive restart (#8942)
- Deleting and recreating a stream repeatedly no longer fails while an earlier deletion is still removing its files or exposes old stream data to the recreated stream (#8942)
- Consumer snapshots are now applied even across leadership transitions, preventing missed state updates (#8942)
- Raft startup now restores terms consistently with recovered snapshots and releases resources when initialization fails (#8942)
DeliverLastPerSubjectconsumers no longer stall when messages are deleted concurrently (#8956, contributed by @adamjones2)- Asynchronous metadata snapshots no longer drop recreated consumers after stale deletions, and metadata catchup no longer retains deleted consumers when a stale deletion precedes the current one (#8974)
Monitoring
- Windows process CPU usage reporting can now exceed 100% when multiple cores are in use, matching other platforms (#8968, contributed by @suvvvv)
Leafnodes
- JetStream metadata peer state changes when leaving observer mode are now saved in the correct directory and restored on restart (#8942)