Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nielsderdaele
Copy link
Contributor

The current implementation of XACK, XCLAIM and XPENDING uses a ComandValuesMessage. Due to this the GetHashSlot() method always returns -1.

Using these commands in a redis cluster environment will result in MOVED responses as the commands are send to incorrect endpoints.

…ands => fixes incorrect HashSlot calculation.
@nielsderdaele
Copy link
Contributor Author

The commands XREADGROUP, XREAD, XGROUP and XINFO have the same problem. I have created issue #2086 for these commands as they couldn't be fixed by using an already existing MessageCommand.

Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

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

Looking great - thanks for this and the issue!

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