Open ypereirareis opened 6 years ago
The code was updated and the integration tests now uses docker 18.06.1. One of the first things the integration tests does is to remove the redis-zero
service. Please try the updated releases tagged: 1.0.2-redis-4.0.11
.
Hi,
Thanks for the fix !! What was the problem exactly with slaves IPs ?
The initial slave IPs that the initial redis master redis-zero
were all the same. When creating the 3 redis replicas, docker creates one IP to do round robin between the 3 instances. This one IP was being used by redis-zero
to locate the slave instances on the overlay network. My update forces the slaves to announce their distinct IP address, so the master can distinguish between then.
Hi,
after upgrading to docker 18.06.1-ce, the initial failover when removing redis-zero is no more happening:
Sentinel logs :
Redis logs :
A docker bug or maybe a BC in last docker releases.... Do you have more info about this ?
When downgrading to
docker-ce=18.03.1~ce-0~debian
everything is fineThanks for this project ! :smiley: