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)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ConnectEverything/nats-by-example/network/alerts).
Bumps github.com/nats-io/nats-server/v2 from 2.10.1 to 2.10.2.
Release notes
Sourced from github.com/nats-io/nats-server/v2's releases.
... (truncated)
Commits
203c4b9
Release v2.10.2 (#4634)f8c9d8e
Release v2.10.295dd8e7
Pin Go versions in Travis CI (#4633)0c3609e
Bump to 2.10.2-RC.15f29c786
[FIXED] Setting initial min on dmap caused subtle bugs with dmap. (#4631)dd646f6
Set initial min on dmap caused subtle bugs with dmap. Some minor cleanup.beee6fc
[FIXED] MQTT PUBREL header incompatibility (#4616)4e414f1
Skip processing consumer assignments after JS has shutdown (#4625)4c791d6
Reduce allocations in WebSockets (#4623)7124dc7
Revert changes tonbPoolPut
, force compressor to forget byte bufferDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show