First, let me start by saying that I've been waiting for this product for quite some time, as it makes all our lives easier!
I've got the following setup:
Running 6 redis instances containers (for simplicity), using docker-compose with network_mode: host (for simplicity).
I've started redis-cluster-proxy using
command: -p 6379 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006
Everything is well, until one of the nodes are down and I try to start up redis-cluster-proxy.
How to reproduce:
Build a container with redis-cluster-proxy from github, branch 1.0, using the Dockerfile provided by bsergean on Issue #23 (https://github.com/RedisLabs/redis-cluster-proxy/issues/23) by running
docker build -t redis-proxy .
Hello,
First, let me start by saying that I've been waiting for this product for quite some time, as it makes all our lives easier! I've got the following setup: Running 6 redis instances containers (for simplicity), using docker-compose with network_mode: host (for simplicity). I've started redis-cluster-proxy using
command: -p 6379 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006
Everything is well, until one of the nodes are down and I try to start up redis-cluster-proxy. How to reproduce: Build a container with redis-cluster-proxy from github, branch 1.0, using the Dockerfile provided by bsergean on Issue #23 (https://github.com/RedisLabs/redis-cluster-proxy/issues/23) by running
docker build -t redis-proxy .
Use the following docker-compose.yml file:
Create the actual cluster using
redis-cli --port 7001 --cluster create --cluster-replicas 1 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006
Start the proxy using
docker restart proxy
and inspect the logsdocker logs proxy
. Everything should be fine. Stop one instance:docker stop r1
Restart the proxy:
docker restart proxy
and inspect the logsdocker logs proxy
.This error shows up: