github nats-io/nats-server v2.15.4-RC.2
Release v2.15.4-RC.2

latest release: v2.14.11-RC.2
pre-releaseone hour ago

Changelog

Refer to the 2.15 Upgrade Guide for backwards compatibility notes with 2.14.x.

Go Version

  • 1.27.4

Fixed

General

  • Internal messages without a reply subject no longer include an extra space in the MSG protocol header (#8967)

JetStream

  • Replicated consumers now attempt a final snapshot before closing their stores during shutdown, avoiding Failed to install snapshot: store is closed errors (#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 DiscardOld evicts 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)
  • DeliverLastPerSubject consumers 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)
  • Stream and consumer replication transitions now include all committed updates in outgoing snapshots, preventing state loss when scaling up from one replica (#8942)
  • With js_api_reply_v2 enabled, mirror and source API reply subjects now use the requesting server's JetStream domain, allowing replies to match domain-scoped leafnode permissions (#8973)

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)

Complete Changes

v2.15.4-RC.1...v2.15.4-RC.2

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.