KeyDB
KeyDB copied to clipboard
[BUG] HMGET with none-unique keys
Hi.
Dragonfly Version: v1.27.1
The HMGET command returns a value only for the first unique key.
Reproduce:
127.0.0.1:6379> HSET test f1 "hi"
(integer) 1
127.0.0.1:6379> HMGET test f1 f1 f1
1) "hi"
2) (nil)
3) (nil)
Expected behavior:
127.0.0.1:6379> HSET test f1 "hi"
(integer) 1
127.0.0.1:6379> HMGET test f1 f1 f1
1) "hi"
2) "hi"
3) "hi"
Expects behavior similar to that of Redis and KeyDB