joeferner / redis-commander

Redis management tool written in node.js
http://joeferner.github.io/redis-commander/
MIT License
3.56k stars 460 forks source link

xinfo responds with an empty map #548

Open mattkrick opened 8 months ago

mattkrick commented 8 months ago

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

sseide commented 7 months ago

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.