github nats-io/nats-server v2.14.11-RC.1
Release v2.14.11-RC.1

pre-releaseone hour ago

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

Improved

General

  • Account connection-count updates now allow concurrent client connects and disconnects without an exclusive server lock (#8905, contributed by @cfedersp)

JetStream

  • Durable consumers used for mirrors and sources now support heartbeat intervals from 1 second to 1 minute, with stall detection adjusted to the interval and prompt flow control after the last delivery (#8723)
  • JetStream account usage accounting now reduces contention between streams in the same account (#8893, contributed by @jnmoyne)
  • Direct get requests for messages with headers now build response headers with fewer allocations (#8879, contributed by @no-hup)
  • Consumer acknowledgement updates now avoid scanning large sequence gaps when few messages are pending (#8938)
  • Consumer lookups no longer wait on stream storage operations, preventing consumer info requests from exhausting API workers and delaying metadata snapshot processing (#8939, contributed by @wallyqs)
  • Filestore expiration, compaction and block removal now update per-subject message counts in bulk (#8950)

Fixed

General

  • Subscription interest counts now include all overlapping wildcard matches, avoiding incorrect counts and false reports of insufficient Raft interest (#8896, contributed by @Ashuuu2606)
  • Embedded servers now stop service export response timers during shutdown, allowing server memory to be released promptly (#8729, contributed by @clwluvw)
  • Messages forwarded over routes and leafnodes are no longer dropped when a selected subscription closes while other matching subscriptions remain (#8915)
  • Replies to concurrent service import requests on a fresh server are no longer lost while the reply subscription is being initialized (#8929, contributed by @ansh0014)
  • Reloading max_control_line no longer races with protocol parsing (#8932, contributed by @huynguyen7)

JetStream

  • Account info now includes stream replicas when reporting reserved storage for accounts without tiered limits (#8886)
  • Filestore metadata updates and encryption conversions now recover safely after an interrupted write, and stream or consumer creation repairs missing or mismatched metadata checksums (#8887)
  • Consumer recovery now verifies metadata checksums, and sync_always now syncs newly created directories and message blocks so their directory entries survive power loss (#8887)
  • Filtered consumers now correctly release interest in messages outside their filters, retain interest when state or messages cannot be read, and clean up dangling WorkQueue messages on restart (#8890)
  • Consumer info requests no longer incorrectly report an existing consumer as missing while its Raft node is being recreated (#8894, contributed by @nberlee)
  • Memory stores now reject message sequence skips that would overflow or leave no sequence available for the next message (#8900)
  • Consumer storage initialization and encryption operations no longer race with stream configuration updates (#8901)
  • Counter increments and atomic batches now enforce account limits on the complete stored data, and R1 atomic batches no longer partially commit when reaching a limit (#8907)
  • R1 fast batches now finish promptly after a storage error, and maximum record size checks account for rewritten headers before proposing messages (#8907)
  • Batch publishing no longer stores trace-only messages or leaves R1 fast batches stalled by them (#8907)
  • Removing deleted pending messages no longer acknowledges lower unacknowledged messages under AckAll, preserving their redelivery (#8659, contributed by @goingforstudying-ctrl)
  • Consumers now send the maximum-delivery advisory and clear the pending acknowledgement when the final AckWait expires, without waiting for another pull request (#8918, contributed by @huynguyen7)
  • Truncation and filtered state queries now report consistent first and last sequences across file and memory stores, including empty streams (#8919)
  • Filestore recovery now restores block compression correctly and avoids appending to compressed blocks after recovery or truncation (#8920)
  • Filestore compaction, truncation and recovery now handle empty blocks and per-subject state correctly, avoiding incorrect sequence reports, encryption conversion failures and stalls enforcing per-subject message limits (#8920)
  • Consumer file stores no longer lose concurrent state updates while writing acknowledgement state (#8920)
  • Filestore truncation, compaction and recovery now preserve deletion tombstones around empty blocks, preventing removed messages from reappearing or retained messages from being incorrectly deleted (#8922)
  • Stream updates now reject invalid source FilterSubject values before committing the configuration (#8923, contributed by @sohailshk)
  • Direct get requests and stream creation no longer race with configuration reloads (#8927, contributed by @Zitniks)
  • Consumers now resume delivery when stream catchup completes (#8930)
  • Replicated pull consumers now send terminal statuses after queued messages, and lowering MaxAckPending preserves in-flight deliveries and their statuses (#8925, contributed by @sansynx)
  • Pull requests sharing a reply subject no longer lose deferred statuses, preventing client refill stalls caused by incorrect pending counts (#8935)
  • Metadata recovery and catchup no longer discard a recreated consumer when processing a stale deletion of an earlier consumer with the same name (#8954)

Leafnodes

  • Solicited leafnode connections now reconnect after a write error during compression negotiation (#8899)

Routes

  • Solicited routes now reconnect after a write error during compression negotiation (#8899)

MQTT

  • MQTT JetStream requests no longer stall behind unflushed route messages (#8902)

Complete Changes

v2.14.10...v2.14.11-RC.1

Don't miss a new nats-server release

NewReleases is sending notifications on new releases.