github nats-io/nats-server v2.11.4
Release v2.11.4

3 months ago

Changelog

Refer to the 2.11 Upgrade Guide for backwards compatibility notes with 2.10.x.

Go Version

Dependencies

  • github.com/nats-io/nats.go v1.42.0 (#6868)
  • golang.org/x/crypto v0.38.0 (#6868)
  • golang.org/x/sys v0.33.0 (#6868)
  • github.com/google/go-tpm v0.9.5 (#6918)

Improved

General

  • Log lines for TLS handshake errors now include the subject and SHA-256 hash of the certificate if known (#6883)

JetStream

  • Enforcing per-subject limits on streams after a state rebuild or retention policy change is now considerably faster (#6871)
  • Reduced allocations when finding the next message matching a filter in the filestore, which also improves the performance of calculating interest state on streams with an interest/WQ retention policy (#6908)

Fixed

General

  • Reloading the gateway TLS configuration now applies to implicit remotes (#6886)

JetStream

  • Stream and consumer updates are no longer possible if all peers are offline, fixing a potential avenue for data loss (#6856)
  • The stream first sequence is now adjusted correctly when purging over interior delete gaps (#6861)
  • Consumer redeliveries are no longer incorrectly reported for consumers with a max deliver of 1 (#6877)
  • Avoid resetting the first and last sequences of a workqueue stream to zero after a crash with unflushed data (#6882)
  • Access time goroutines are now reference-counted and no longer leak (#6887)
  • Fixed a deadlock that could occur when using multi_last direct gets or when calculating the first sequence number for a consumer with a deliver-last-per-subject deliver policy (#6899)
  • A spelling error in a store error was fixed (#6895) Thanks to @cjohansen for the contribution!
  • A rare panic in the filestore has been fixed (#6912)
  • Direct gets will no longer return messages incorrectly with up_to_time or start_time in some configurations (#6911)
  • Fixed a panic in the stree that could occur when removing subject state tracking for a short subject (#6914)

Complete Changes

v2.11.3...v2.11.4

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.