-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
hmget returns erroneous data with compression on #1945
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
Comments
This looks like the same issue as #1370 - except with hmget rather than hget. I've just confirmed that in code - pull request shortly... |
aolley
added a commit
to aolley/phpredis
that referenced
this issue
Mar 10, 2021
Without this, performing a HMGET call fails to decompress the data before returning it to php.
See: #1946 |
aolley
added a commit
to aolley/phpredis
that referenced
this issue
Mar 10, 2021
Without this, performing a HMGET call fails to decompress the data before returning it to php.
michael-grunder
added a commit
that referenced
this issue
Mar 10, 2021
Pass compression flag when performing HMGET (#1945)
Closing via #1946 |
michael-grunder
pushed a commit
that referenced
this issue
Mar 22, 2021
Without this, performing a HMGET call fails to decompress the data before returning it to php.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behaviour
Calling hmget after setting data with hset should return the same data with or without compression enabled.
Actual behaviour
If compression is enabled, hmget doesn't appear to decompress the data from the fields it fetches.
I'm seeing this behaviour on
Steps to reproduce, backtrace or example script
Output:
I've checked
develop
branchThe text was updated successfully, but these errors were encountered: