Skip to content
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

unexpected result in ZRANGE with RESP3 #492

Closed
mperham opened this issue Jun 24, 2024 · 1 comment · Fixed by #503
Closed

unexpected result in ZRANGE with RESP3 #492

mperham opened this issue Jun 24, 2024 · 1 comment · Fixed by #503
Assignees

Comments

@mperham
Copy link

mperham commented Jun 24, 2024

Describe the bug

Notice also that Redis returns the scores as numeric, rather than strings.

Steps to reproduce the bug

require "redis-client"
c = RedisClient.new
c.call "zadd", "mike", "12.5", "bob"
c.call "zadd", "mike", "22.5", "bill"
c.call "zrange", "mike", "0", "300", "withscores"

Redis:
=> [["bob", 12.5], ["bill", 22.5]]
Garnet:
=> ["bob", "12.5", "bill", "22.5"]

Expected behavior

No response

Screenshots

No response

Release version

main

IDE

No response

OS version

No response

Additional context

No response

@badrishc
Copy link
Contributor

We are adding per-operator RESP3 support on an incremental and on-demand basis. Have covered ZRANGE in the linked PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants