salesforce / rmux

A Redis-Multiplexer written in GO
BSD 3-Clause "New" or "Revised" License
67 stars 12 forks source link

Retry another available if one redis server is down #22

Closed ikzjfr0 closed 5 years ago

ikzjfr0 commented 5 years ago

Background: Currently, if a redis server is down, this server is not removed from hash ring. In this case,redis operation fails. From log, you can see this kind of error message: ERR New Client Read Error: Hash ring is down

This patch is simply to find next available redis server if one is down.

salesforce-cla[bot] commented 5 years ago

Thanks for the contribution! Unfortunately we can't verify the commit author(s): liang.wang l***@l***.c***.au. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Salesforce.com Contributor License Agreement and this Pull Request will be revalidated.

ikzjfr0 commented 5 years ago

Sorry that seem we already have the failover flag, and don't need this MR any more.