Skip to content

Cherry-picks for v2.11.10-RC.1#7370

Merged
neilalexander merged 31 commits intorelease/v2.11.10from
backports/v2.11.10
Sep 29, 2025
Merged

Cherry-picks for v2.11.10-RC.1#7370
neilalexander merged 31 commits intorelease/v2.11.10from
backports/v2.11.10

Conversation

@neilalexander
Copy link
Copy Markdown
Member

sciascid and others added 30 commits September 29, 2025 11:31
Remove misleading comment for the loop at the end of
isStreamAssigned: "Check if we are the leader of this
raftGroup [...]". This code is checking for membership,
not leadership of the group.
Instead of fixing the comment, replace the whole loop
with a call to isMember.
Same for isConsumerAssigned.

Signed-off-by: Daniele Sciascia <daniele@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
…ate cache in `loadMsgsWithLock`

Signed-off-by: Neil Twigg <neil@nats.io>
…sages are skipped over. This fixes/extends this so it also applies if the requested sequence number happens to be deleted.

Signed-off-by: Jean-Noël Moyne <jnmoyne@gmail.com>
This is a non-functional change. Removed the receiver `(n *raft)`
from decodeAppendEntry since it does not depend on raft state.
Same for decodeAppendEntryResponse.

Signed-off-by: Daniele Sciascia <daniele@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
This was introduced in #6967 to support gateway, route, and leaf
stats. However the DataStats type is used for client connection
stats (e.g. disconnect event) for which the additional fields
are not relevant. Having a pointer ensures the omitempty JSON
tag is respected and those nil fields are not serialized.

Signed-off-by: Byron Ruth <byron@nats.io>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
…ible

Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Alex Bozhenko <alexbozhenko@gmail.com>
Signed-off-by: Alex Bozhenko <alexbozhenko@gmail.com>
Signed-off-by: Neil Twigg <neil@nats.io>
- Corrected minor typos in leafnode.go
- Included empty commit to trigger CI rerun

Signed-off-by: Yoonseo Han <yooncer00@gmail.com>
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>
Signed-off-by: Neil Twigg <neil@nats.io>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
… with partial wildcards

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>
Replaces #7352
Fixes #7353

Signed-off-by: Neil Twigg <neil@nats.io>
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>
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@neilalexander neilalexander requested a review from a team as a code owner September 29, 2025 11:19
Copy link
Copy Markdown
Member

@MauriceVanVeen MauriceVanVeen 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 ada4e68 into release/v2.11.10 Sep 29, 2025
87 of 92 checks passed
@neilalexander neilalexander deleted the backports/v2.11.10 branch September 29, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants