-
-
Notifications
You must be signed in to change notification settings - Fork 989
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
Define prefix strategy for ZMSCORE command #1443
Conversation
@vladvildanov @tillkruss Hey team, can we release with these changes? This code is my salvation in production. I'd be praying for you in church if you help speed up this release 😺 |
To kill two birds with one stone, I decided to go further, and within the scope of this pull request, I also fixed the prefix issue with the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo all the styling changes.
This reverts commit b8ed003.
@tillkruss Done. As per your request, I've reverted the commit regarding the styling formatting. |
Just wanted to check in to see if there are any updates or progress on this enhancement? |
I've merged this in #1451 without the test changes. |
Thanks! |
Description:
When using Predis, if a client prefix is set and then a
ZMSCORE
command is executed, the client prefix is ignored. This leads to incorrect results, as the command operates on keys without the applied prefix.Steps to Reproduce:
ZMSCORE
command to retrieve the score from a sorted set.Expected Behavior:
The
ZMSCORE
command should consider the client prefix when retrieving the score from the sorted set, ensuring that the correct key is used.Actual Behavior:
The
ZMSCORE
command retrieves the score from the sorted set without considering the client prefix. As a result, incorrect keys are accessed, leading to unexpected behavior.Additional Information:
Predis Version: v2.2.2
Similar issue with prefix problems in
ZPOPMIN
&ZPOPMAX
commands #1432 already reported.Sample Code: