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

chore: fix off-by-one error with jinja loop index #539

Merged

Conversation

pmcgleenon
Copy link
Contributor

Fixed off-by-one error in Event message_type. According to the protocol the Least significant bit is set to 0 (Request), 1 (Response) and increments for each Event.

Message Type value for MembersView should end in 02, PartitionsView -> 03, MemberGroupsView -> 04

Instead it is off by 1 since the jinja loop.index starts at 1 not 0

@pmcgleenon pmcgleenon force-pushed the fixed-event-message-type branch from 9a5b86a to a56db81 Compare December 4, 2024 11:01
@pmcgleenon
Copy link
Contributor Author

@ihsandemir @JamesHazelcast here's a quick bug fix could you plz take a look?

Copy link
Collaborator

@ihsandemir ihsandemir left a comment

Choose a reason for hiding this comment

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

good catch.

Copy link
Contributor

@JamesHazelcast JamesHazelcast left a comment

Choose a reason for hiding this comment

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

Thanks @pmcgleenon!

@JamesHazelcast JamesHazelcast merged commit c8190d0 into hazelcast:master Dec 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants