Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[FIXED] Desync after stream/consumer peer remove #6456

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

MauriceVanVeen
Copy link
Member

If a peer remove entry would be included with other entries in the same append entry. Any entry after the peer remove would be skipped. If there was a stream message after the peer remove, that meant the next stream message would result in a 'last seq mismatch', resetting the clustered state which could lead into stream desync.

The same issue also existed for consumer entries after a peer remove within the same append entry.

Signed-off-by: Maurice van Veen [email protected]

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner February 5, 2025 11:09
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

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

@derekcollison derekcollison merged commit 54f3076 into main Feb 5, 2025
5 checks passed
@derekcollison derekcollison deleted the maurice/peer-remove-desync branch February 5, 2025 13:49
neilalexander added a commit that referenced this pull request Feb 6, 2025
Includes the following:

- #6406
- #6412
- #6408
- #6416
- #6425
- #6424
- #6438
- #6439
- #6446
- #6447
- #6448
- #6449
- #6450
- #6451
- #6452
- #6453
- #6456
- #6458
- #6457
- #6459
- #6460
- #6461

Signed-off-by: Neil Twigg <[email protected]>
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.

3 participants