You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the key already exists in Redis, exists should return 1 instead of 0.
Environment
Lettuce version(s): 6.2.7.RELEASE
Redis version: 7.1
Additional context
syncCommands above is an implementation of io.lettuce.core.dynamic.Commands provided by io.lettuce.core.dynamic.RedisCommandFactorygetCommands(Class<T> commandInterface) method.
The text was updated successfully, but these errors were encountered:
I'll need to double check if we can upgrade the client library version but in the mean time I have tested with 6.5.4 release and it seems it worked as expected.
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
Current Behavior
When calling exists method for keys with special characters which are already stored in Redis, exists returns 0 instead of 1.
Failing test
Working test
Input Code
Exists Code
Note that the syncCommands are retrieved from a Redis connection calling connect this way:
Expected behavior/code
Since the key already exists in Redis, exists should return 1 instead of 0.
Environment
Additional context
syncCommands above is an implementation of
io.lettuce.core.dynamic.Commands
provided byio.lettuce.core.dynamic.RedisCommandFactory
getCommands(Class<T> commandInterface)
method.The text was updated successfully, but these errors were encountered: