KeyDB icon indicating copy to clipboard operation
KeyDB copied to clipboard

[BUG] HMGET with none-unique keys

Open Gasillo opened this issue 10 months ago • 2 comments

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

Gasillo avatar Mar 04 '25 17:03 Gasillo