-
Notifications
You must be signed in to change notification settings - Fork 992
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
ArrayOutput stops response parsing on empty nested arrays #1327
Comments
I knew this was all working 2 years ago, so I've played with older versions. Downgrading redis to 5.0.8 fixes the issue; so it is a redis 6 specific problem. |
In redis 5.0.8 the command output is slightly different (missing the empty array element).
|
Thanks for reporting the issue. The bug is that
|
ArrayOutput is now a subclass of NestedMultiOutput which correctly handles empty arrays.
ArrayOutput is now a subclass of NestedMultiOutput which correctly handles empty arrays.
That's fixed now in |
Confirmed working with |
Bug Report
Current Behavior
When using the redis-cell module v0.2.5 the list of redis commands that Lettuce loads is truncated.
In ReidsCommandFactory.java I put a breakpoint at the return of
getCommands
- from there I can see that commands contains 137 elements when the redis-cell module is loaded, and 204 when it is not loaded.In redis-cli I run monitor and see the
COMMAND
is used to get the list of commands. When I run that with redis-cell loaded I get 205 entries.Looking at the list of entries I see the 138th entry is
For some reason Lettuce stops reading the list of commands at that point.
Expected behavior/code
The full list of 205 commands should be returned. My custom "CL.THROTTLE" lettuce command should work.
Environment
The text was updated successfully, but these errors were encountered: