redis-commander icon indicating copy to clipboard operation
redis-commander copied to clipboard

xinfo responds with an empty map

Open mattkrick opened this issue 1 year ago • 1 comments

XINFO consumers should respond with an array, whether it's RESP2 or RESP3 (https://redis.io/commands/xinfo-consumers/), but when I call it I get a map back. If there is only 1 consumer, the map is empty ({}). If there are 2 consumers, then the key is the first consumer & the value is the 2nd consumer.

XINFO groups also behaves like this.

When I issue the command directly to redis-cli it works as expected. Is there perhaps a setting that I'm missing?

commander v0.8.1 redis v7

mattkrick avatar Nov 29 '23 20:11 mattkrick

Sorry, cannot reproduce. But the data are returned directly as received from ioredis connection. So its probably a problem there handling the data parsing.... https://github.com/redis/ioredis/

ioredis driver is already at the latest version here.

sseide avatar Dec 20 '23 08:12 sseide