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
Variable-length pipeline response #366
Comments
I guess some of the responses cannot deserialize to |
BTW, just incidentally spotted a counter-intuitive behavior for $ echo -e 'zcard key_1\nzcard key_2\nzcard key_3' | redis-cli
(error) WRONGTYPE Operation against a key holding the wrong kind of value
(error) WRONGTYPE Operation against a key holding the wrong kind of value
(integer) 0 These behavior also matches what transaction in
However, all of the Just FYI. Not sure did you also encounter the same problem. |
@cssivision is this issue still present? can you provide sample code to recreate it? |
Cargo.toml
current API allow us to use pipeline
but sometimes we don't know the length of a pipeline's response.
for example, we have
x
zcard
command, we don't know the explicit value ofx
.I try to write code like this:
most time, it works fine, but the length of response not equal to the length of pipeline commands occasionally.
I guess that, current API don't support this usage?
any idea to fix this problem?
The text was updated successfully, but these errors were encountered: