You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/09/03 01:10:09 UTC
[GitHub] [incubator-kvrocks] git-hulk commented on issue #807: redis-cli --pipe syntax error
git-hulk commented on issue #807:
URL: https://github.com/apache/incubator-kvrocks/issues/807#issuecomment-1236014648
Hello @dirkpetersen, many thanks for your feedback.
The root cause is that Kvrocks's inline protocol didn't support the `\r\n` separator. Will align this with Redis behavior and it only works like below:
```
❯ echo "set a 1\r\nset b 2\r\n" > pipes.txt
❯ cat pipes.txt
set a 1
set b 2
❯ cat pipes.txt | redis-cli -p 6666 --pipe --verbose
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 2
```
BTW, PR is always welcome!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org