Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (22 loc) · 669 Bytes

README.rst

File metadata and controls

29 lines (22 loc) · 669 Bytes

redis-cli-cluster

Cluster-aware re-implementation of redis-cli.

Here's the problem:

$ redis-cli -c -h node-0 set apple sauce
-> Redirected to slot [7092] located at 172.255.0.3:6379
OK
$ ctrl-D
$ redis-cli -c -h node-0 keys "*"
(empty list or set)
$ redis-cli -c -h node-1 keys "*"
1) "apple"

Wouldn't it be great if that keys * worked the same was as in non-clustered mode?

$ redis-cli-cluster -h node-0 set apple sauce
-> Redirected to slot [7092] located at 172.255.0.3:6379
OK
$ ctrl-D
$ redis-cli-cluster -h node-0 keys "*"
1) "apple"