Skip to content

[FIXED] Preferred stream leader responds without initialized RAFT node#6480

Merged
derekcollison merged 1 commit intomainfrom
maurice/preferred-stream-leader-responds
Feb 9, 2025
Merged

[FIXED] Preferred stream leader responds without initialized RAFT node#6480
derekcollison merged 1 commit intomainfrom
maurice/preferred-stream-leader-responds

Conversation

@MauriceVanVeen
Copy link
Copy Markdown
Member

Stream info would bail and timeout even if rg.Preferred would equal the current server, but if rg.node would still be nil.

Resolves #6421

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner February 9, 2025 17:26
Copy link
Copy Markdown
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

@derekcollison derekcollison merged commit 3676d48 into main Feb 9, 2025
@derekcollison derekcollison deleted the maurice/preferred-stream-leader-responds branch February 9, 2025 19:28
neilalexander added a commit that referenced this pull request Feb 10, 2025
Includes the following:

- #6465
- #6464
- #6469
- #6471
- #6472
- #6474
- #6477
- #6480
- #6487
- #6488

Signed-off-by: Neil Twigg <neil@nats.io>
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.

Possible Race Condition Getting KV Info After Creation

2 participants