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

Deny sort command with store parameter when instance is cluster mode #1647

Conversation

HeartSaVioR
Copy link
Contributor

It fixes #1645.

Actually it's more natural to throw CROSSSLOT if store parameter's key should stored to other node.
But I respect previous thing, "deny sort parameters related to multi key", and it's very easy to implement.

Please review and comment! Thanks!

mattsta added a commit to mattsta/redis that referenced this pull request Aug 2, 2014
We only want to use the last STORE key, but we have to record
we actually found a STORE key so we can increment the final return
key count.

Test added to prevent further regression.

Closes redis#1883, redis#1645, redis#1647
@mattsta mattsta mentioned this pull request Aug 2, 2014
mattsta added a commit to mattsta/redis that referenced this pull request Aug 6, 2014
We only want to use the last STORE key, but we have to record
we actually found a STORE key so we can increment the final return
key count.

Test added to prevent further regression.

Closes redis#1883, redis#1645, redis#1647
mattsta added a commit that referenced this pull request Aug 7, 2014
We only want to use the last STORE key, but we have to record
we actually found a STORE key so we can increment the final return
key count.

Test added to prevent further regression.

Closes #1883, #1645, #1647
@mattsta
Copy link
Contributor

mattsta commented Aug 25, 2014

Fixed in 4b54b1e

@mattsta mattsta closed this Aug 25, 2014
mattsta added a commit that referenced this pull request Aug 26, 2014
We only want to use the last STORE key, but we have to record
we actually found a STORE key so we can increment the final return
key count.

Test added to prevent further regression.

Closes #1883, #1645, #1647
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.

SORT with STORE to other node in cluster environment doesn't work
2 participants