Changelog
Go Version
- 1.19.9
Dependency Updates
- github.com/klauspost/compress v1.16.5 (#4088)
Improved
Core
- Additional optimizations to outbound queues, reducing memory footprint (#4084, #4093, #4139)
- Use faster flate compression library for WebSocket transport compression (#4087)
Leafnodes
Monitoring
- Support sorting by RTT for /connz (#4157)
Resolver
- Improve signaling for missing account lookups (#4151)
JetStream
- Optimized determining if a stream snapshot is required (#4074)
- Run periodic check for consumer “ack floor” drift on leader (#4086)
- Optimize leadership transfer during a stream migration (#4104)
- Improve how clustered consumer state is hydrated on startup (#4107)
- Add operation type to panic messages for improved debugging (#4108)
- Improve health check to repair stalled assets periodically (#4116, #4172)
- Remove unnecessary filestore lock to improve I/O performance (#4123)
- Various Raft leadership improvements (#4126, #4142, #4143, #4145)
- Improve accuracy of account usage (#4131)
- Clean up old Raft groups when streams are reset (#4177)
Fixed
General
- Fix various names in comments (#4099) Thanks to @cuishuang for the contribution!
- Fix various typos in comments (#4169) Thanks to @savion1024 for the contribution!
- Update tests to reflect the
server.Start()
call no longer blocks (#4111) Thanks to @lheiskan for reporting the issue! - Fix race condition in config reload with gateway sublist check (#4127)
- Track all remote servers in a NATS system with different domains (#4159)
Core
- Fix premature closing in WebSocket transport due to outbound queue changes (#4084)
- Fix subscription interest for config-based accounts during config reload (#4130)
- Use monotonic time for measuring durations internally (#4132, #4154, #4163)
Monitoring
- Service import reporting for /accountz when mapping to local subjects (#4158)
JetStream
- Fix formatting of Raft debug log (#4090)
- Prevent failure of /healthz in single server mode on failed snapshot restore (#4100)
- Ensure a stream Raft node has fully stopped and resources freed (#4118)
- Fix case where R1 streams are orphaned and can’t scale up (#4146)
- Protect against out of bounds access on usage updates (#4164)
- Fix state rebuild where the first block is truncated and missing index info (#4166)
- Avoid stale KV reads on server restarted for replicated stores (#4171) Thanks to @yixinin for reporting the issue!
- Prevent deadlock with usage report for accounts (#4176)