redis-failover | Basic failover for local Redis instances with Keepalived | Load Balancing library
kandi X-RAY | redis-failover Summary
kandi X-RAY | redis-failover Summary
Basic failover for local Redis instances with Keepalived
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of redis-failover
redis-failover Key Features
redis-failover Examples and Code Snippets
Community Discussions
Trending Discussions on redis-failover
QUESTION
I am trying to create a simple redis high availability setup with 1 master, 1 slave and 2 sentinels.
The setup works perfectly when failing over from redis-master
to redis-slave
.
When redis-master
recovers, it correctly register itself as slave to the new redis-slave
master.
However, when redis-slave
as a master goes down, redis-master
cannot return as master. The log of redis-master
go into the loop showing:
ANSWER
Answered 2018-Dec-22 at 15:45It turn out that the problem is related to the used of host name instead of IP:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install redis-failover
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page