-
Notifications
You must be signed in to change notification settings - Fork 1k
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
HELLO 3 behavior breaks lettuce #126
Comments
@alisaifee can you ptal? if you do not have the capacity, I will send a PR next week. |
Ouch, that's unfortunate. Initially when I looked at the expectation in the lettuce implementation it felt like a bit of a stretch to return the 'unknown command' family of errors. However, technically the current implementation of HELLO in df is a bit of a lie still since you could pass the authentication / set name arguments and the response would be (incorrectly) "OK". Given that, what do you think of:
|
you mean - return the 12-item array and not "OK", right? |
Apologies, my mind said |
Resolved in #129 |
Based on private communication. Lettuce client stopped connecting to DF.
From reading this logic:
https://github.com/lettuce-io/lettuce-core/blob/5d3310d79967a580d172af7f6d9718ec9ed0325f/src/main/java/io/lettuce/core/RedisHandshake.java#L97
we should not return NOPROTO error upon "hello 3" command because the client code expects a
ERR unknown command
response.The text was updated successfully, but these errors were encountered: