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

[BUG] Incorrect output formatting in valkey-cli when queuing "client info" in a transaction #1778

Open
xbasel opened this issue Feb 25, 2025 · 0 comments · May be fixed by #1782
Open

[BUG] Incorrect output formatting in valkey-cli when queuing "client info" in a transaction #1778

xbasel opened this issue Feb 25, 2025 · 0 comments · May be fixed by #1782
Assignees

Comments

@xbasel
Copy link
Member

xbasel commented Feb 25, 2025

Describe the bug

When running client info inside a MULTI transaction, the response QUEUED is incorrectly concatenated with the prompt, making it hard to read. This appears to be an output formatting issue in valkey-cli.

127.0.0.1:6379> multi
OK
127.0.0.1:6379(TX)> client info
QUEUED127.0.0.1:6379(TX)>

To reproduce

127.0.0.1:6379> multi
127.0.0.1:6379(TX)> client info

Expected behavior

The expected output should properly format the QUEUED response, ensuring correct spacing and line breaks:
QUEUED
127.0.0.1:6379(TX)>

Additional information
Other commands (set, get) inside a transaction do not exhibit this behavior. The response type is REDIS_REPLY_VERB for client info.

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

Successfully merging a pull request may close this issue.

1 participant