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

fix(proto): correct JoinGroup usage for wider version range #2553

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Aug 3, 2023

Contributes-to: #2408

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe dnwe force-pushed the dnwe/join-group branch from ff5056f to 0615751 Compare August 3, 2023 13:52
if c.config.Version.IsAtLeast(V2_0_0_0) {
req.Version = 3
}
// XXX: protocol states "Starting from version 4, the client needs to issue a
Copy link
Collaborator

Choose a reason for hiding this comment

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

the if below this comment sets req.Version = 5 so this must work or already be broken?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, although I’ve not personally tested the V5 and static membership stuff so I didn’t want to introduce any breakage until I’d tested it

@dnwe dnwe merged commit 82a6d57 into main Aug 3, 2023
@dnwe dnwe deleted the dnwe/join-group branch August 3, 2023 14:38
@dnwe dnwe added fix feat and removed fix labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants