I created a Redis at GCP. Note it is GCP service, not a Redis created using compute engine. But when I run redis-cli and then run CLIENT command, like "client list", "client kill", etc. it showed:
(error) ERR unknown command 'client', with args beginning with:?
Look like it does not support command about CLIENT, and maybe some other commands as well.
?
If I run "info" in the redis-cli, it shows the version is: redis_version:4.0.14
?
How to have the GCP managed Redis run command of "client"? I need to disconnect with all clients so I want to run "client kill".
if "client kill" is not available, can I use "shutdown" as a workaround? I am not sure if shutdown will terminate the redis or just stop it. if it just stops the redis and no data is lost, then I can use it as well.
question from:
https://stackoverflow.com/questions/65940303/cannot-run-client-command-at-gcp-managed-redis 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…