Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xinfo responds with an empty map #548

Open
mattkrick opened this issue Nov 29, 2023 · 1 comment
Open

xinfo responds with an empty map #548

mattkrick opened this issue Nov 29, 2023 · 1 comment

Comments

@mattkrick
Copy link

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
Copy link
Collaborator

sseide commented Dec 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants