Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cherry-picks for 2.10.26-RC.1 #6462

Merged
merged 23 commits into from
Feb 6, 2025
Merged

Cherry-picks for 2.10.26-RC.1 #6462

merged 23 commits into from
Feb 6, 2025

Conversation

neilalexander and others added 22 commits February 5, 2025 09:44
Signed-off-by: Neil Twigg <neil@nats.io>
We intended to deprecate this but did not do so in the end
and it is critical in current API clients

Signed-off-by: R.I.Pienaar <rip@devco.net>
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
This should make the output of `healthz` less opaque when there are
stream or consumer healthcheck errors.

Signed-off-by: Neil Twigg <neil@nats.io>
[ci skip]

Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Evan Anderson <evan@stacklok.com>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
The relevant code for multi-filtered consumers differs considerably
between the two stores, so we need to be watching both.

Signed-off-by: Neil Twigg <neil@nats.io>
This avoids a potentially expensive linear walk if it is obvious that the
block FSS contains less subjects than sequences that we would otherwise
have to scan.

Signed-off-by: Neil Twigg <neil@nats.io>
…alls

Signed-off-by: Neil Twigg <neil@nats.io>
This updates `dios` to range up to 50% of the core count on a system with
more than 32 CPU cores, otherwise obeying the 4 to 16 limit.

Signed-off-by: Neil Twigg <neil@nats.io>
This updates `generatePerSubjectInfo`, `NumPending` and `NumPendingMulti`
to avoid updating the last load timestamp in a tight-loop while skipping
over a potentially large number of interior deletes, as this becomes
noticeable in the CPU profile.

Signed-off-by: Neil Twigg <neil@nats.io>
This should ensure the compressors are more aggressively cleared and
also handle a couple of error scenarios better by releasing/repooling
buffers.

Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
…lient info

Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@neilalexander neilalexander requested a review from a team as a code owner February 5, 2025 23:35
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

…ce sequences and we have lots of interior deletes.

Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neilalexander neilalexander merged commit 3aa13a9 into release/v2.10.26 Feb 6, 2025
5 checks passed
@neilalexander neilalexander deleted the neil/21026rc1 branch February 6, 2025 10:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants