RedisLabs / redis-cluster-proxy

A proxy for Redis clusters.
GNU Affero General Public License v3.0
990 stars 129 forks source link

Proxy does not detect failover if old master dies quickly #32

Open JanBerktold opened 4 years ago

JanBerktold commented 4 years ago

I managed to get the proxy to fail consistently with this repro case:

I haven't tested the "master fails w/o a successful failover before" case but it seems likely that that'd cause the same behaviour.

A possible solution here might be to trigger a reconfiguration whenever we loose a connection to a master?

artix75 commented 4 years ago

I will implement a "mandatory" reconfiguration after N failed reconnections.

amanullah92 commented 4 years ago

Hi @artix75 - just wanted to ask when you plan to fix this?