Update module github.com/nats-io/nats-server/v2 to v2.9.17 #27

Merged
kjuulh merged 1 commits from renovate/all into main 2023-05-18 21:16:51 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
github.com/nats-io/nats-server/v2 require patch v2.9.15 -> v2.9.17

Release Notes

nats-io/nats-server

v2.9.17

Compare Source

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 (#​4048, #​4093, #​4139)
  • Use faster flate compression library for WebSocket transport compression (#​4087)

Leafnodes

  • Optimize subscription interest propagation for large leafnode fleet (#​4117, #​4135)

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 (#​4048)
  • 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)
Complete Changes

v2.9.16

Compare Source

Changelog

Go Version
  • 1.19.8
Dependency Updates
  • github.com/klauspost/compress v1.16.4
  • github.com/nats-io/jwt/v2 v2.4.1
  • github.com/nats-io/nkeys v0.4.4
  • golang.org/x/crypto v0.8.0
  • golang.org/x/sys v0.7.0
Added

Build

Resolver

Improved

JetStream

Fixed

Subjects

  • Ensure subjects containing percent (%) are escaped (#​4040)

Accounts

  • Fix data race when setting up service import subscriptions (#​4068)

Leaf

  • Fix leaf client connection failing on OCSP setups (#​3964)
  • Fix case when allow/deny permissions on leaf connection could block legitimate interest (#​4032)

Cluster

JetStream

  • Pull consumer not sending timeout error to clients for expired requests (#​3942)
  • Prevent meta leader deadlock during deletion of orphaned streams during server startup (#​3945)
  • Clear ack’ed messages when scaling workqueue or interest-based streams (#​3960) Thanks for the report @​Kaarel!
  • Remove messages from interest-based stream on consumer snapshot (#​3970)
  • Fix potential panic in message block buffer pool (#​3978)
  • Fixed an issue with consumer states growing and causing instability (#​3980)
  • Improve handling of out-of-storage condition (#​3985)
  • Address memory leak of unreachable Raft groups when JetStream becomes disabled (#​3986)
  • Prevent Raft leader from being placed on server in lame-duck mode (#​4002)
  • Remove potential race condition on sysRequest (#​4017)
  • Fix FirstSeq not being updated with filestore when purging subject (#​4041). Thanks for the contribution @​MauriceVanVeen!
  • Fix Raft log debug reloading (#​4047)
  • Ensure consumer recovers fully on restart before being eligible for leader (#​4049)
  • Fix incorrect check between stream source/mirror with external streams (#​4052)
  • Fix various conditions during Raft group recovery (#​4056, #​4058)
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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | require | patch | `v2.9.15` -> `v2.9.17` | --- ### Release Notes <details> <summary>nats-io/nats-server</summary> ### [`v2.9.17`](https://github.com/nats-io/nats-server/releases/tag/v2.9.17) [Compare Source](https://github.com/nats-io/nats-server/compare/v2.9.16...v2.9.17) #### Changelog ##### Go Version - 1.19.9 ##### Dependency Updates - github.com/klauspost/compress v1.16.5 ([#&#8203;4088](https://github.com/nats-io/nats-server/issues/4088)) ##### Improved Core - Additional optimizations to outbound queues, reducing memory footprint ([#&#8203;4048](https://github.com/nats-io/nats-server/issues/4048), [#&#8203;4093](https://github.com/nats-io/nats-server/issues/4093), [#&#8203;4139](https://github.com/nats-io/nats-server/issues/4139)) - Use faster flate compression library for WebSocket transport compression ([#&#8203;4087](https://github.com/nats-io/nats-server/issues/4087)) Leafnodes - Optimize subscription interest propagation for large leafnode fleet ([#&#8203;4117](https://github.com/nats-io/nats-server/issues/4117), [#&#8203;4135](https://github.com/nats-io/nats-server/issues/4135)) Monitoring - Support sorting by RTT for /connz ([#&#8203;4157](https://github.com/nats-io/nats-server/issues/4157)) Resolver - Improve signaling for missing account lookups ([#&#8203;4151](https://github.com/nats-io/nats-server/issues/4151)) JetStream - Optimized determining if a stream snapshot is required ([#&#8203;4074](https://github.com/nats-io/nats-server/issues/4074)) - Run periodic check for consumer “ack floor” drift on leader ([#&#8203;4086](https://github.com/nats-io/nats-server/issues/4086)) - Optimize leadership transfer during a stream migration ([#&#8203;4104](https://github.com/nats-io/nats-server/issues/4104)) - Improve how clustered consumer state is hydrated on startup ([#&#8203;4107](https://github.com/nats-io/nats-server/issues/4107)) - Add operation type to panic messages for improved debugging ([#&#8203;4108](https://github.com/nats-io/nats-server/issues/4108)) - Improve health check to repair stalled assets periodically ([#&#8203;4116](https://github.com/nats-io/nats-server/issues/4116), [#&#8203;4172](https://github.com/nats-io/nats-server/issues/4172)) - Remove unnecessary filestore lock to improve I/O performance ([#&#8203;4123](https://github.com/nats-io/nats-server/issues/4123)) - Various Raft leadership improvements ([#&#8203;4126](https://github.com/nats-io/nats-server/issues/4126), [#&#8203;4142](https://github.com/nats-io/nats-server/issues/4142), [#&#8203;4143](https://github.com/nats-io/nats-server/issues/4143), [#&#8203;4145](https://github.com/nats-io/nats-server/issues/4145)) - Improve accuracy of account usage ([#&#8203;4131](https://github.com/nats-io/nats-server/issues/4131)) - Clean up old Raft groups when streams are reset ([#&#8203;4177](https://github.com/nats-io/nats-server/issues/4177)) ##### Fixed General - Fix various names in comments ([#&#8203;4099](https://github.com/nats-io/nats-server/issues/4099)) Thanks to [@&#8203;cuishuang](https://github.com/cuishuang) for the contribution! - Fix various typos in comments ([#&#8203;4169](https://github.com/nats-io/nats-server/issues/4169)) Thanks to [@&#8203;savion1024](https://github.com/savion1024) for the contribution! - Update tests to reflect the `server.Start()` call no longer blocks ([#&#8203;4111](https://github.com/nats-io/nats-server/issues/4111)) Thanks to [@&#8203;lheiskan](https://github.com/lheiskan) for reporting the issue! - Fix race condition in config reload with gateway sublist check ([#&#8203;4127](https://github.com/nats-io/nats-server/issues/4127)) - Track all remote servers in a NATS system with different domains ([#&#8203;4159](https://github.com/nats-io/nats-server/issues/4159)) Core - Fix premature closing in WebSocket transport due to outbound queue changes ([#&#8203;4048](https://github.com/nats-io/nats-server/issues/4048)) - Fix subscription interest for config-based accounts during config reload ([#&#8203;4130](https://github.com/nats-io/nats-server/issues/4130)) - Use monotonic time for measuring durations internally ([#&#8203;4132](https://github.com/nats-io/nats-server/issues/4132), [#&#8203;4154](https://github.com/nats-io/nats-server/issues/4154), [#&#8203;4163](https://github.com/nats-io/nats-server/issues/4163)) Monitoring - Service import reporting for /accountz when mapping to local subjects ([#&#8203;4158](https://github.com/nats-io/nats-server/issues/4158)) JetStream - Fix formatting of Raft debug log ([#&#8203;4090](https://github.com/nats-io/nats-server/issues/4090)) - Prevent failure of /healthz in single server mode on failed snapshot restore ([#&#8203;4100](https://github.com/nats-io/nats-server/issues/4100)) - Ensure a stream Raft node has fully stopped and resources freed ([#&#8203;4118](https://github.com/nats-io/nats-server/issues/4118)) - Fix case where R1 streams are orphaned and can’t scale up ([#&#8203;4146](https://github.com/nats-io/nats-server/issues/4146)) - Protect against out of bounds access on usage updates ([#&#8203;4164](https://github.com/nats-io/nats-server/issues/4164)) - Fix state rebuild where the first block is truncated and missing index info ([#&#8203;4166](https://github.com/nats-io/nats-server/issues/4166)) - Avoid stale KV reads on server restarted for replicated stores ([#&#8203;4171](https://github.com/nats-io/nats-server/issues/4171)) Thanks to [@&#8203;yixinin](https://github.com/yixinin) for reporting the issue! - Prevent deadlock with usage report for accounts ([#&#8203;4176](https://github.com/nats-io/nats-server/issues/4176)) ##### Complete Changes ### [`v2.9.16`](https://github.com/nats-io/nats-server/releases/tag/v2.9.16) [Compare Source](https://github.com/nats-io/nats-server/compare/v2.9.15...v2.9.16) #### Changelog ##### Go Version - 1.19.8 ##### Dependency Updates - github.com/klauspost/compress v1.16.4 - github.com/nats-io/jwt/v2 v2.4.1 - github.com/nats-io/nkeys v0.4.4 - golang.org/x/crypto v0.8.0 - golang.org/x/sys v0.7.0 ##### Added Build - Nightly build of the “main” branch as a Docker image: synadia/nats-server:nightly-main ([#&#8203;3961](https://github.com/nats-io/nats-server/issues/3961), [#&#8203;3962](https://github.com/nats-io/nats-server/issues/3962), [#&#8203;3963](https://github.com/nats-io/nats-server/issues/3963), [#&#8203;3972](https://github.com/nats-io/nats-server/issues/3972), [#&#8203;4019](https://github.com/nats-io/nats-server/issues/4019), [#&#8203;4063](https://github.com/nats-io/nats-server/issues/4063)) - Version control SHA in the Goreleaser build of the server ([#&#8203;3993](https://github.com/nats-io/nats-server/issues/3993)). Thanks for the report [@&#8203;jzhoucliqr](https://github.com/jzhoucliqr)! Monitoring - Add server name and route remote server name to /routez ([#&#8203;4054](https://github.com/nats-io/nats-server/issues/4054)) Resolver - Add “hard_delete” option for stored JWTs ([#&#8203;3783](https://github.com/nats-io/nats-server/issues/3783)). Thanks for the contribution [@&#8203;JulienVdG](https://github.com/JulienVdG)! ##### Improved JetStream - Storage and Raft layer improvements to decrease p99 latency variance and memory pressure in high load environments ([#&#8203;3956](https://github.com/nats-io/nats-server/issues/3956), [#&#8203;3952](https://github.com/nats-io/nats-server/issues/3952), [#&#8203;3965](https://github.com/nats-io/nats-server/issues/3965), [#&#8203;3981](https://github.com/nats-io/nats-server/issues/3981), [#&#8203;3999](https://github.com/nats-io/nats-server/issues/3999), [#&#8203;4018](https://github.com/nats-io/nats-server/issues/4018), [#&#8203;4020](https://github.com/nats-io/nats-server/issues/4020), [#&#8203;4021](https://github.com/nats-io/nats-server/issues/4021), [#&#8203;4022](https://github.com/nats-io/nats-server/issues/4022), [#&#8203;4026](https://github.com/nats-io/nats-server/issues/4026), [#&#8203;4027](https://github.com/nats-io/nats-server/issues/4027), [#&#8203;4028](https://github.com/nats-io/nats-server/issues/4028), [#&#8203;4029](https://github.com/nats-io/nats-server/issues/4029), [#&#8203;4030](https://github.com/nats-io/nats-server/issues/4030), [#&#8203;4038](https://github.com/nats-io/nats-server/issues/4038), [#&#8203;4045](https://github.com/nats-io/nats-server/issues/4045), [#&#8203;4050](https://github.com/nats-io/nats-server/issues/4050), [#&#8203;4053](https://github.com/nats-io/nats-server/issues/4053)) - Don’t show Raft warning for node that is closed ([#&#8203;3968](https://github.com/nats-io/nats-server/issues/3968)) - Use pooled buffer for flushing encrypted message blocks ([#&#8203;3975](https://github.com/nats-io/nats-server/issues/3975)) - Remove snapshotting of cores and maxprocs ([#&#8203;3979](https://github.com/nats-io/nats-server/issues/3979)) - Improvements to interest-based streams to optimize when messages are deleted ([#&#8203;4006](https://github.com/nats-io/nats-server/issues/4006), [#&#8203;4007](https://github.com/nats-io/nats-server/issues/4007), [#&#8203;4012](https://github.com/nats-io/nats-server/issues/4012)) - Better handling of concurrent stream and consumer creation of the same name ([#&#8203;4013](https://github.com/nats-io/nats-server/issues/4013)) - Finer-grain locking during asset checking to reduce contention in the /healthz endpoint ([#&#8203;4031](https://github.com/nats-io/nats-server/issues/4031)) - Encrypted file stores will now limit block sizes to improve performance ([#&#8203;4046](https://github.com/nats-io/nats-server/issues/4046)) - Improve performance on storing messages with varying subjects and limits are imposed ([#&#8203;4048](https://github.com/nats-io/nats-server/issues/4048), [#&#8203;4057](https://github.com/nats-io/nats-server/issues/4057)). Thanks for the report [@&#8203;kung-foo](https://github.com/kung-foo)! ##### Fixed Subjects - Ensure subjects containing percent (%) are escaped ([#&#8203;4040](https://github.com/nats-io/nats-server/issues/4040)) Accounts - Fix data race when setting up service import subscriptions ([#&#8203;4068](https://github.com/nats-io/nats-server/issues/4068)) Leaf - Fix leaf client connection failing on OCSP setups ([#&#8203;3964](https://github.com/nats-io/nats-server/issues/3964)) - Fix case when allow/deny permissions on leaf connection could block legitimate interest ([#&#8203;4032](https://github.com/nats-io/nats-server/issues/4032)) Cluster - Route disconnect not detected by ping/pong ([#&#8203;4016](https://github.com/nats-io/nats-server/issues/4016)). Thanks for the contribution [@&#8203;sandykellagher](https://github.com/sandykellagher)! JetStream - Pull consumer not sending timeout error to clients for expired requests ([#&#8203;3942](https://github.com/nats-io/nats-server/issues/3942)) - Prevent meta leader deadlock during deletion of orphaned streams during server startup ([#&#8203;3945](https://github.com/nats-io/nats-server/issues/3945)) - Clear ack’ed messages when scaling workqueue or interest-based streams ([#&#8203;3960](https://github.com/nats-io/nats-server/issues/3960)) Thanks for the report [@&#8203;Kaarel](https://github.com/Kaarel)! - Remove messages from interest-based stream on consumer snapshot ([#&#8203;3970](https://github.com/nats-io/nats-server/issues/3970)) - Fix potential panic in message block buffer pool ([#&#8203;3978](https://github.com/nats-io/nats-server/issues/3978)) - Fixed an issue with consumer states growing and causing instability ([#&#8203;3980](https://github.com/nats-io/nats-server/issues/3980)) - Improve handling of out-of-storage condition ([#&#8203;3985](https://github.com/nats-io/nats-server/issues/3985)) - Address memory leak of unreachable Raft groups when JetStream becomes disabled ([#&#8203;3986](https://github.com/nats-io/nats-server/issues/3986)) - Prevent Raft leader from being placed on server in lame-duck mode ([#&#8203;4002](https://github.com/nats-io/nats-server/issues/4002)) - Remove potential race condition on sysRequest ([#&#8203;4017](https://github.com/nats-io/nats-server/issues/4017)) - Fix FirstSeq not being updated with filestore when purging subject ([#&#8203;4041](https://github.com/nats-io/nats-server/issues/4041)). Thanks for the contribution [@&#8203;MauriceVanVeen](https://github.com/MauriceVanVeen)! - Fix Raft log debug reloading ([#&#8203;4047](https://github.com/nats-io/nats-server/issues/4047)) - Ensure consumer recovers fully on restart before being eligible for leader ([#&#8203;4049](https://github.com/nats-io/nats-server/issues/4049)) - Fix incorrect check between stream source/mirror with external streams ([#&#8203;4052](https://github.com/nats-io/nats-server/issues/4052)) - Fix various conditions during Raft group recovery ([#&#8203;4056](https://github.com/nats-io/nats-server/issues/4056), [#&#8203;4058](https://github.com/nats-io/nats-server/issues/4058)) ##### Complete Changes </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh changed title from Update module github.com/nats-io/nats-server/v2 to v2.9.16 to Update module github.com/nats-io/nats-server/v2 to v2.9.17 2023-05-18 20:58:09 +02:00
kjuulh force-pushed renovate/all from 7eea00793d to 2baff345bc 2023-05-18 20:58:10 +02:00 Compare
kjuulh merged commit 2baff345bc into main 2023-05-18 21:16:51 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kjuulh/ceen#27