Update module github.com/nats-io/nats-server/v2 to v2.10.2 #39

Merged
kjuulh merged 1 commits from renovate/all into main 2023-10-06 23:49:25 +02:00
Owner

This PR contains the following updates:

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

Release Notes

nats-io/nats-server

v2.10.2

Compare Source

Changelog

Downgrade compatibility note

2.10.x brings on-disk storage changes which bring significant performance improvements. Upgrade existing server versions will handle the new storage format transparently. However, if a downgrade from 2.10.x occurs, the old version will not understand the format on disk with the exception 2.9.22 and any subsequent patch releases for 2.9. So if you upgrade from 2.9.x to 2.10.0 and then need to downgrade for some reason, it must be back to 2.9.22+ to ensure the stream data can be read correctly.

Go Version
  • 1.21.2
Dependencies
  • github.com/nats-io/nats.go v1.30.2
Added

Profiling

  • Add prof_block_rate config option for configuring the block profile (#​4587)
  • Add more pprof labels to consumers, sources, and mirrors (#​4609)
Improved

Core

  • Reduce contention when pattern matching subjects when the sublist cache is disabled (#​4586)
  • Various service import reply optimizations (#​4591)
  • Remove unnecessary lock on subscription list if cache is disabled (#​4594)

Docs

  • Fix links in various repo markdown files (#​4590) Thanks to @​jdhenke for the contribution!

Leafnodes

  • Set S2 writer concurrency to 1 rather than the default of GOMAXPROCS to improve performance (#​4570)

JetStream

  • Make install snapshot errors rate limited when catching up (#​4574)
  • Log a warning on reset if bad stream state is detected (#​4583)
  • Change some contended locks to atomic swap operations (#​4585)
  • Log a warning if filestore recovery fails on the happy path (#​4599)
  • Ensure concurrent stream of the same stream does not return not found (#​4600)
  • Add additional markers for indicating unflushed state (#​4601)
  • Log a warning when subject skew is detected in the filestore (#​4606)
  • Reduce contention for a high number of connections in JetStream enabled account (#​4613)
  • Reduce contention in the consumer info API (#​4615)
  • Reduce contention and increase throughput of replica synchronization (#​4621)

Systemd

  • Update systemd scripts to use SIGUSR2 (lame duck model) for shutdown (#​4603)

WebSocket

  • Minimize memory growth for compressed WebSocket connections (#​4620)
  • Significantly reduce allocations in WebSocket interface (#​4623)
Fixed

Accounts

  • Fix inversion of lock on startup when setting up the account resolver (#​4588)
  • Prevent bypassing authorization block when enabling system account access in accounts block (#​4605) Thanks to @​alexherington for the report!

Leafnodes

  • Prevent a leafnode cluster from receiving a message multiple times in a queue subscription (#​4578) Thanks to @​pcsegal for the report!

JetStream

  • Fix possible panic due to message block unlock occurring prematurely (#​4571)
  • Guard against an accounting error resulting in a negative message count (#​4575)
  • Skip enabling direct gets if no commits (#​4576)
  • In lame duck mode, shutdown JetStream at the start to signal transfer of leadership if the leader (#​4579)
  • Fix possible stream assignment race condition (#​4589)
  • Fix race condition during leader failover scenarios resulting in potential duplicate messages being sourced (#​4592)
  • Respond with “not found” for consumer info if consumer is closed (#​4610)
  • Prevent processing of consumer assignments after JetStream shutdown occurs (#​4625)
  • Fix possibly lookup misses when MaxMsgsPerSubject=1 leading to excess messages in stream (#​4631)

MQTT

  • Fix PUBREL header incompatibility (#​4616)

Routes

  • Fix potential of pinned accounts not establishing a route on connect (#​4602)
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.10.1` -> `v2.10.2` | --- ### Release Notes <details> <summary>nats-io/nats-server</summary> ### [`v2.10.2`](https://github.com/nats-io/nats-server/releases/tag/v2.10.2) [Compare Source](https://github.com/nats-io/nats-server/compare/v2.10.1...v2.10.2) #### Changelog ##### Downgrade compatibility note 2.10.x brings on-disk storage changes which bring significant performance improvements. Upgrade existing server versions will handle the new storage format transparently. However, if a downgrade from 2.10.x occurs, the old version will not understand the format on disk with the exception 2.9.22 and any subsequent patch releases for 2.9. So if you upgrade from 2.9.x to 2.10.0 and then need to downgrade for some reason, it must be back to 2.9.22+ to ensure the stream data can be read correctly. ##### Go Version - 1.21.2 ##### Dependencies - github.com/nats-io/nats.go v1.30.2 ##### Added Profiling - Add `prof_block_rate` config option for configuring the block profile ([#&#8203;4587](https://github.com/nats-io/nats-server/issues/4587)) - Add more pprof labels to consumers, sources, and mirrors ([#&#8203;4609](https://github.com/nats-io/nats-server/issues/4609)) ##### Improved Core - Reduce contention when pattern matching subjects when the sublist cache is disabled ([#&#8203;4586](https://github.com/nats-io/nats-server/issues/4586)) - Various service import reply optimizations ([#&#8203;4591](https://github.com/nats-io/nats-server/issues/4591)) - Remove unnecessary lock on subscription list if cache is disabled ([#&#8203;4594](https://github.com/nats-io/nats-server/issues/4594)) Docs - Fix links in various repo markdown files ([#&#8203;4590](https://github.com/nats-io/nats-server/issues/4590)) Thanks to [@&#8203;jdhenke](https://github.com/jdhenke) for the contribution! Leafnodes - Set S2 writer concurrency to 1 rather than the default of GOMAXPROCS to improve performance ([#&#8203;4570](https://github.com/nats-io/nats-server/issues/4570)) JetStream - Make install snapshot errors rate limited when catching up ([#&#8203;4574](https://github.com/nats-io/nats-server/issues/4574)) - Log a warning on reset if bad stream state is detected ([#&#8203;4583](https://github.com/nats-io/nats-server/issues/4583)) - Change some contended locks to atomic swap operations ([#&#8203;4585](https://github.com/nats-io/nats-server/issues/4585)) - Log a warning if filestore recovery fails on the happy path ([#&#8203;4599](https://github.com/nats-io/nats-server/issues/4599)) - Ensure concurrent stream of the same stream does not return not found ([#&#8203;4600](https://github.com/nats-io/nats-server/issues/4600)) - Add additional markers for indicating unflushed state ([#&#8203;4601](https://github.com/nats-io/nats-server/issues/4601)) - Log a warning when subject skew is detected in the filestore ([#&#8203;4606](https://github.com/nats-io/nats-server/issues/4606)) - Reduce contention for a high number of connections in JetStream enabled account ([#&#8203;4613](https://github.com/nats-io/nats-server/issues/4613)) - Reduce contention in the consumer info API ([#&#8203;4615](https://github.com/nats-io/nats-server/issues/4615)) - Reduce contention and increase throughput of replica synchronization ([#&#8203;4621](https://github.com/nats-io/nats-server/issues/4621)) Systemd - Update systemd scripts to use SIGUSR2 (lame duck model) for shutdown ([#&#8203;4603](https://github.com/nats-io/nats-server/issues/4603)) WebSocket - Minimize memory growth for compressed WebSocket connections ([#&#8203;4620](https://github.com/nats-io/nats-server/issues/4620)) - Significantly reduce allocations in WebSocket interface ([#&#8203;4623](https://github.com/nats-io/nats-server/issues/4623)) ##### Fixed Accounts - Fix inversion of lock on startup when setting up the account resolver ([#&#8203;4588](https://github.com/nats-io/nats-server/issues/4588)) - Prevent bypassing authorization block when enabling system account access in accounts block ([#&#8203;4605](https://github.com/nats-io/nats-server/issues/4605)) Thanks to [@&#8203;alexherington](https://github.com/alexherington) for the report! Leafnodes - Prevent a leafnode cluster from receiving a message multiple times in a queue subscription ([#&#8203;4578](https://github.com/nats-io/nats-server/issues/4578)) Thanks to [@&#8203;pcsegal](https://github.com/pcsegal) for the report! JetStream - Fix possible panic due to message block unlock occurring prematurely ([#&#8203;4571](https://github.com/nats-io/nats-server/issues/4571)) - Guard against an accounting error resulting in a negative message count ([#&#8203;4575](https://github.com/nats-io/nats-server/issues/4575)) - Skip enabling direct gets if no commits ([#&#8203;4576](https://github.com/nats-io/nats-server/issues/4576)) - In lame duck mode, shutdown JetStream at the start to signal transfer of leadership if the leader ([#&#8203;4579](https://github.com/nats-io/nats-server/issues/4579)) - Fix possible stream assignment race condition ([#&#8203;4589](https://github.com/nats-io/nats-server/issues/4589)) - Fix race condition during leader failover scenarios resulting in potential duplicate messages being sourced ([#&#8203;4592](https://github.com/nats-io/nats-server/issues/4592)) - Respond with “not found” for consumer info if consumer is closed ([#&#8203;4610](https://github.com/nats-io/nats-server/issues/4610)) - Prevent processing of consumer assignments after JetStream shutdown occurs ([#&#8203;4625](https://github.com/nats-io/nats-server/issues/4625)) - Fix possibly lookup misses when MaxMsgsPerSubject=1 leading to excess messages in stream ([#&#8203;4631](https://github.com/nats-io/nats-server/issues/4631)) MQTT - Fix PUBREL header incompatibility ([#&#8203;4616](https://github.com/nats-io/nats-server/issues/4616)) Routes - Fix potential of pinned accounts not establishing a route on connect ([#&#8203;4602](https://github.com/nats-io/nats-server/issues/4602)) ##### 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 added 1 commit 2023-10-06 23:28:11 +02:00
Update module github.com/nats-io/nats-server/v2 to v2.10.2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
b93d472a7e
kjuulh merged commit b93d472a7e into main 2023-10-06 23:49:25 +02:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/ceen#39
No description provided.