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

Redis-cli cannot perform --pipe with -c #6188

Open
Heermosi opened this issue Jun 26, 2019 · 0 comments
Open

Redis-cli cannot perform --pipe with -c #6188

Heermosi opened this issue Jun 26, 2019 · 0 comments

Comments

@Heermosi
Copy link

Environment: CentOS 7.5 docker container
SoftVersion: Redis 5.0.5
Deployment: Redis Cluster with 3 masters and 3 slaves
Problem:

When I import data using
cat script | redis-cli -h localhost -p 7000 -c
it was all OK

When I import data using
cat script | redis-cli -h localhost -p 7000 -c --pipe
it was reporting a lot of MOVED
it seems that in pipe mode, the tool is not equipped with redirect potentials

Besides, when I insert get command into the script, the pipe line not even return a result in stdout. Can any one tell me how to get through it?
I can, but I don't want to write python again.

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

1 participant