microsoft / garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
https://microsoft.github.io/garnet/
MIT License
9.71k stars 459 forks source link

unexpected result in ZRANGE with RESP3 #492

Closed mperham closed 10 hours ago

mperham commented 4 days ago

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 commented 11 hours ago

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