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
Redis client filters the null values with the mget command #28049
Labels
Milestone
Comments
/cc @cescoffier, @gsmet, @machi1990 |
One solution would be to have the entries in the map (key -> |
Yes thats perfect !, we just have to remove the null check, it should not be breaking anything as the filter was not stated in the documentation |
cescoffier
added a commit
to cescoffier/quarkus
that referenced
this issue
Sep 19, 2022
… closer to the Redis semantic. Fix quarkusio#28049.
Plawn
changed the title
Redis client filters the null values for with the mget command
Redis client filters the null values with the mget command
Sep 20, 2022
gsmet
pushed a commit
to gsmet/quarkus
that referenced
this issue
Sep 20, 2022
… closer to the Redis semantic. Fix quarkusio#28049. (cherry picked from commit ca68abb)
igorregis
pushed a commit
to igorregis/quarkus
that referenced
this issue
Oct 16, 2022
… closer to the Redis semantic. Fix quarkusio#28049.
igorregis
pushed a commit
to igorregis/quarkus
that referenced
this issue
Oct 16, 2022
… closer to the Redis semantic. Fix quarkusio#28049.
igorregis
pushed a commit
to igorregis/quarkus
that referenced
this issue
Oct 16, 2022
… closer to the Redis semantic. Fix quarkusio#28049.
igorregis
pushed a commit
to igorregis/quarkus
that referenced
this issue
Oct 17, 2022
… closer to the Redis semantic. Fix quarkusio#28049.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In the redis documentation, here : https://redis.io/commands/mget/
The missing values should be returned as null, it enables to detect in an efficient way, which keys are missing or have been deleted due to timeout policies.
However, the implementation of the ReactiveRedisClient uses the io.quarkus.redis.runtime.datasource.Marshaller which filters this values with the method #decodeAsOrderedMap.
The null values should not be filtered and the user should do it, if necessary.
Expected behavior
More compliance with the redis documentation, and non filtered null values.
Actual behavior
The null values are filtered by default.
How to Reproduce?
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.12.2.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)maven
Additional information
No response
The text was updated successfully, but these errors were encountered: