nats-io/nats-server (github.com/nats-io/nats-server/v2)
### [`v2.10.11`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.11)
[Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.10...v2.10.11)
#### Changelog
Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x.
##### Go Version
- 1.21.7
##### Dependencies
- github.com/nats-io/nats.go v1.33.0
##### Improved
JetStream
- Optimize replaying messages when they are at the end of the stream ([#5083](https://togithub.com/nats-io/nats-server/issues/5083)) Thanks to [@david-wakeo](https://togithub.com/david-wakeo) for the report!
- Optimize replaying messages with start sequence by time when there are large gaps between the time sequence and first sequence ([#5088](https://togithub.com/nats-io/nats-server/issues/5088)) Thanks again to [@david-wakeo](https://togithub.com/david-wakeo) for the report!
- Reduce possible contention for NRG step-down ([#4990](https://togithub.com/nats-io/nats-server/issues/4990))
- Reduce log-level to debug for non-actionable reallocations warnings ([#5085](https://togithub.com/nats-io/nats-server/issues/5085))
- Improved placement of streams in larger clusters when created in rapid succession ([#5079](https://togithub.com/nats-io/nats-server/issues/5079)) Thanks to [@kohlisid](https://togithub.com/kohlisid) for the report!
- Improved filtered consumer retrieval time for large subject space streams with wildcards ([#5089](https://togithub.com/nats-io/nats-server/issues/5089))
##### Fixed
JetStream
- Fixed a bug that could cause consumers to not match filtered subjects with wildcards correctly ([#5080](https://togithub.com/nats-io/nats-server/issues/5080))
- Fixed a bug that could not allow keys/subjects to be found after restarts after extended downtime ([#5054](https://togithub.com/nats-io/nats-server/issues/5054))
- Fixed a bug that would not properly update all consumer state when a filtered purge of the parent stream was narrower then the consumer’s filtered subject space ([#5075](https://togithub.com/nats-io/nats-server/issues/5075))
MQTT
- Fixed an issue with retained messages not working properly if the server name had a ‘.’ ([#5048](https://togithub.com/nats-io/nats-server/issues/5048))
##### Complete Changes
### [`v2.10.10`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.10)
[Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.9...v2.10.10)
#### Changelog
Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x.
##### Go Version
- 1.21.6
##### Dependencies
- github.com/klauspost/compress v1.17.5
- github.com/nats-io/nats.go v1.32.0
##### Added
- Add `ping_interval` cluster route option to configure differently than client connections ([#5029](https://togithub.com/nats-io/nats-server/issues/5029))
##### Improved
JetStream
- Avoid a linear scan of filestore blocks when loading messages for the first time after restart or long period of inactivity ([#4969](https://togithub.com/nats-io/nats-server/issues/4969))
- NumPending calculations and subject index memory in filestore and memstore ([#4960](https://togithub.com/nats-io/nats-server/issues/4960), [#4983](https://togithub.com/nats-io/nats-server/issues/4983))
- Log healthy Raft group status when no longer falling behind ([#4995](https://togithub.com/nats-io/nats-server/issues/4995))
- Optimize writing full filestore state where there is high subject cardinality ([#5004](https://togithub.com/nats-io/nats-server/issues/5004))
- Share higher fidelity client info in JetStream advisory messages ([#5019](https://togithub.com/nats-io/nats-server/issues/5019), [#5026](https://togithub.com/nats-io/nats-server/issues/5026))
- More thorough gating of blocking disk I/O operations ([#5022](https://togithub.com/nats-io/nats-server/issues/5022), [#5027](https://togithub.com/nats-io/nats-server/issues/5027))
- Improved fallback cleanup of consumer Raft directory ([#5028](https://togithub.com/nats-io/nats-server/issues/5028))
MQTT
- Use different unique names for internal consumers ([#5017](https://togithub.com/nats-io/nats-server/issues/5017))
##### Fixed
Auth callout
- Ensure the server properly binds scoped users ([#5013](https://togithub.com/nats-io/nats-server/issues/5013)) Thanks to [@dpotapov](https://togithub.com/dpotapov) for the report!
Logging
- Fix missing variable in consumer skew log line ([#4967](https://togithub.com/nats-io/nats-server/issues/4967))
JetStream
- Fix data race with stream stop and removal ([#4963](https://togithub.com/nats-io/nats-server/issues/4963))
- Don't unconditionally send consumer snapshot when becoming leader ([#4965](https://togithub.com/nats-io/nats-server/issues/4965))
- Fix tracking holes in the message block index when they are at the end of the block, improving filestore cache efficiency ([#4988](https://togithub.com/nats-io/nats-server/issues/4988))
- Wait for recovery to complete before sending snapshot on stream scale-up from R1 ([#5001](https://togithub.com/nats-io/nats-server/issues/5001))
- Acking a redelivered msg with more pending should move the ack floor ([#5008](https://togithub.com/nats-io/nats-server/issues/5008))
- Fix for a panic calculating record length for secure erase followed by compaction ([#5009](https://togithub.com/nats-io/nats-server/issues/5009))
- Reduce memory growth on interest stream recovery when consumers are ahead of the recovered stream state ([#5011](https://togithub.com/nats-io/nats-server/issues/5011))
- Raft node responds to VoteRequest with outdated Term ([#5021](https://togithub.com/nats-io/nats-server/issues/5021))
- Avoid sending meta leader snapshot as normal entry on leader change when not up-to-date ([#5024](https://togithub.com/nats-io/nats-server/issues/5024))
- Make sure to not restart streams or consumers when they are deleted or immediately after being created ([#5032](https://togithub.com/nats-io/nats-server/issues/5032))
Shutdown
- Avoid panic when reloading during lame duck mode ([#5012](https://togithub.com/nats-io/nats-server/issues/5012))
##### Complete Changes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v2.10.9
->v2.10.11
Release Notes
nats-io/nats-server (github.com/nats-io/nats-server/v2)
### [`v2.10.11`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.11) [Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.10...v2.10.11) #### Changelog Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x. ##### Go Version - 1.21.7 ##### Dependencies - github.com/nats-io/nats.go v1.33.0 ##### Improved JetStream - Optimize replaying messages when they are at the end of the stream ([#5083](https://togithub.com/nats-io/nats-server/issues/5083)) Thanks to [@david-wakeo](https://togithub.com/david-wakeo) for the report! - Optimize replaying messages with start sequence by time when there are large gaps between the time sequence and first sequence ([#5088](https://togithub.com/nats-io/nats-server/issues/5088)) Thanks again to [@david-wakeo](https://togithub.com/david-wakeo) for the report! - Reduce possible contention for NRG step-down ([#4990](https://togithub.com/nats-io/nats-server/issues/4990)) - Reduce log-level to debug for non-actionable reallocations warnings ([#5085](https://togithub.com/nats-io/nats-server/issues/5085)) - Improved placement of streams in larger clusters when created in rapid succession ([#5079](https://togithub.com/nats-io/nats-server/issues/5079)) Thanks to [@kohlisid](https://togithub.com/kohlisid) for the report! - Improved filtered consumer retrieval time for large subject space streams with wildcards ([#5089](https://togithub.com/nats-io/nats-server/issues/5089)) ##### Fixed JetStream - Fixed a bug that could cause consumers to not match filtered subjects with wildcards correctly ([#5080](https://togithub.com/nats-io/nats-server/issues/5080)) - Fixed a bug that could not allow keys/subjects to be found after restarts after extended downtime ([#5054](https://togithub.com/nats-io/nats-server/issues/5054)) - Fixed a bug that would not properly update all consumer state when a filtered purge of the parent stream was narrower then the consumer’s filtered subject space ([#5075](https://togithub.com/nats-io/nats-server/issues/5075)) MQTT - Fixed an issue with retained messages not working properly if the server name had a ‘.’ ([#5048](https://togithub.com/nats-io/nats-server/issues/5048)) ##### Complete Changes ### [`v2.10.10`](https://togithub.com/nats-io/nats-server/releases/tag/v2.10.10) [Compare Source](https://togithub.com/nats-io/nats-server/compare/v2.10.9...v2.10.10) #### Changelog Refer to the [2.10 Upgrade Guide](https://docs.nats.io/release-notes/whats_new/whats_new\_210) for backwards compatibility notes with 2.9.x. ##### Go Version - 1.21.6 ##### Dependencies - github.com/klauspost/compress v1.17.5 - github.com/nats-io/nats.go v1.32.0 ##### Added - Add `ping_interval` cluster route option to configure differently than client connections ([#5029](https://togithub.com/nats-io/nats-server/issues/5029)) ##### Improved JetStream - Avoid a linear scan of filestore blocks when loading messages for the first time after restart or long period of inactivity ([#4969](https://togithub.com/nats-io/nats-server/issues/4969)) - NumPending calculations and subject index memory in filestore and memstore ([#4960](https://togithub.com/nats-io/nats-server/issues/4960), [#4983](https://togithub.com/nats-io/nats-server/issues/4983)) - Log healthy Raft group status when no longer falling behind ([#4995](https://togithub.com/nats-io/nats-server/issues/4995)) - Optimize writing full filestore state where there is high subject cardinality ([#5004](https://togithub.com/nats-io/nats-server/issues/5004)) - Share higher fidelity client info in JetStream advisory messages ([#5019](https://togithub.com/nats-io/nats-server/issues/5019), [#5026](https://togithub.com/nats-io/nats-server/issues/5026)) - More thorough gating of blocking disk I/O operations ([#5022](https://togithub.com/nats-io/nats-server/issues/5022), [#5027](https://togithub.com/nats-io/nats-server/issues/5027)) - Improved fallback cleanup of consumer Raft directory ([#5028](https://togithub.com/nats-io/nats-server/issues/5028)) MQTT - Use different unique names for internal consumers ([#5017](https://togithub.com/nats-io/nats-server/issues/5017)) ##### Fixed Auth callout - Ensure the server properly binds scoped users ([#5013](https://togithub.com/nats-io/nats-server/issues/5013)) Thanks to [@dpotapov](https://togithub.com/dpotapov) for the report! Logging - Fix missing variable in consumer skew log line ([#4967](https://togithub.com/nats-io/nats-server/issues/4967)) JetStream - Fix data race with stream stop and removal ([#4963](https://togithub.com/nats-io/nats-server/issues/4963)) - Don't unconditionally send consumer snapshot when becoming leader ([#4965](https://togithub.com/nats-io/nats-server/issues/4965)) - Fix tracking holes in the message block index when they are at the end of the block, improving filestore cache efficiency ([#4988](https://togithub.com/nats-io/nats-server/issues/4988)) - Wait for recovery to complete before sending snapshot on stream scale-up from R1 ([#5001](https://togithub.com/nats-io/nats-server/issues/5001)) - Acking a redelivered msg with more pending should move the ack floor ([#5008](https://togithub.com/nats-io/nats-server/issues/5008)) - Fix for a panic calculating record length for secure erase followed by compaction ([#5009](https://togithub.com/nats-io/nats-server/issues/5009)) - Reduce memory growth on interest stream recovery when consumers are ahead of the recovered stream state ([#5011](https://togithub.com/nats-io/nats-server/issues/5011)) - Raft node responds to VoteRequest with outdated Term ([#5021](https://togithub.com/nats-io/nats-server/issues/5021)) - Avoid sending meta leader snapshot as normal entry on leader change when not up-to-date ([#5024](https://togithub.com/nats-io/nats-server/issues/5024)) - Make sure to not restart streams or consumers when they are deleted or immediately after being created ([#5032](https://togithub.com/nats-io/nats-server/issues/5032)) Shutdown - Avoid panic when reloading during lame duck mode ([#5012](https://togithub.com/nats-io/nats-server/issues/5012)) ##### Complete ChangesConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.