redli
redli copied to clipboard
Redli support to connect cluster
I have redis cluster with 3 nodes. while connecting to redis cluster using redli -u i get error when setting value or reading value due to cluster connect got moved to another node in the cluster.
How to inform redli that i am connecting in cluster mode rather than single node. I am getting below error:
ct-xxxxxxxxxxxx.redis.cache.windows.net:6380> set name opiee (error) MOVED 5798 20.51.232.39:15005
Opies-MBP-59.opsrihome:/Users/ovajinapalli $ redli --help
usage: redli [
Flags: --help Show context-sensitive help (also try --help-long and --help-man). --debug Enable debug mode. --long Enable long prompt with host/port -u, --uri=URI URI to connect to -h, --host="127.0.0.1" Host to connect to -p, --port=6379 Port to connect to -r, --redisuser="" Username to use when connecting. Supported since Redis 6. -a, --auth=AUTH Password to use when connecting -n, --ndb=0 Redis database to access --tls Enable TLS/SSL --skipverify Don't validate certificates --certfile=CERTFILE Self-signed certificate file for validation --certb64=CERTB64 Self-signed certificate string as base64 for validation --raw Produce raw output --eval=EVAL Evaluate a Lua script file, follow with keys a , and args --version Show application version.
Args:
[
I dont see any cluster option like redis-cli -c
Is anyone looking at this issue?