-
Notifications
You must be signed in to change notification settings - Fork 517
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
Fix missing fields in HELLO command response #2150
Fix missing fields in HELLO command response #2150
Conversation
Currently, we're missing the 'version', 'role', 'modules' in HELLO command which may cause the compability issue in some clients like Java lettuce: ``` Caused by: java.lang.IllegalArgumentException: Version must not be null at io.lettuce.core.internal.LettuceAssert.notNull(LettuceAssert.java:71) at io.lettuce.core.RedisHandshake$RedisVersion.<init>(RedisHandshake.java:333) at io.lettuce.core.RedisHandshake$RedisVersion.of(RedisHandshake.java:362) at io.lettuce.core.RedisHandshake.applyPostHandshake(RedisHandshake.java:249) at io.lettuce.core.RedisHandshake.lambda$initialize$0(RedisHandshake.java:99) ``` For the HELLO command response refer: https://redis.io/commands/hello/
This issue was reported by the user |
Thank you for the prompt fix What is the nightly docker img - i can try it out |
|
@asad-awadia Need to wait for this PR to be merged, and then you can have a try at |
Thanks for catching this! |
Tried the nightly image and works as expected with resp3 default in lettuce :) |
Currently, we're missing the 'version', 'role', 'modules' in the HELLO command which may cause the compatibility issue in some clients like Java lettuce:
For the HELLO command response refer: https://redis.io/commands/hello/