-
Notifications
You must be signed in to change notification settings - Fork 988
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
Lettuce compatibility with Redis Server #2350
Comments
Basically: Lettuce is compatible with all Redis versions above Redis 2.6. By the time Lettuce 6.1 was released, Redis 6.2 was just out, Redis 7.0 was released about a year later. We add the upper bound as an indication that we've ran our test suite against the mentioned Redis version. |
thanks @mp911de for explaining, if i understand it correctly this means i can assume 5.1.8 is tested and compatible with the redis version that was available at the time it was released, but there is no real guarantee it will work with 7.x? |
What can occasionally happen is that individual commands in Redis server were updated and you don't get to use all sorts of flags or arguments of a command. Other than that, you should be good. |
As you've pointed out, the HELLO command [1] is only compatible with Redis versions 6.0 and later, thus making a connection to earlier Redis versions unachievable. Would it be possible for us to address some compatibility issues here, if it's not too much trouble? |
Regarding In any case, happy to hear if you run into any incompatibilities that we can sort out. |
I appreciate your guidance. Changing the protocol to RESP2 resolved the issue I was encountering. |
I need to upgrade a redis 5.x cluster which is shared between a lot of apps which are using different lettuce versions, is there any resource available to understand each released lettuce version compatibility with the redis server?
For example the latest RELEASE-NOTE for 6.2 says:
But in 6.1 it was saying:
I'm a bit confused here, does it mean i need lettuce
6.2
to be compatible with a redis7.x
server or is any6.x
lettuce client enough?In my specific use case i was able to figure out the apps actually use 3 lettuce versions:
Now the RELEASE-NOTE for 5.1.8 doesn't say anything about the compatibility with the redis server, can anyone help me out here? given these 3 clients what is the maximum redis version i can safely upgrade to?
The text was updated successfully, but these errors were encountered: