You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
We are using redis sentinel, and it works, but when we take down the primary server (let's call it redis1) and another server takes over, when redis1 comes back online it does NOT become the primary again. Is there a way to set a server priority (score), like in MongoDB? We'd like a certain server to be the primary as much as possible (it has more resources and closer to the web servers in terms of latency).
The Baldguy
unread,
Jul 17, 2015, 12:58:56 AM7/17/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
Redis Sentinel is not designed in the way you are asking about. Redis masters and slaves should be equal in capability, or you will have to manually issue a failover command to have one be a "mandatory master".
That said, if your data set become large you will likely encounter issues doing that as you will be doing extra replication.
Jan-Erik Rediger
unread,
Jul 17, 2015, 3:57:55 AM7/17/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
On Thu, Jul 16, 2015 at 09:58:56PM -0700, The Baldguy wrote:
> Redis Sentinel is not designed in the way you are asking about. Redis masters and slaves should be equal in capability, or you will have to manually issue a failover command to have one be a "mandatory master".
>
> That said, if your data set become large you will likely encounter issues doing that as you will be doing extra replication.
>
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redi...@googlegroups.com
Ok, thanks for the reply.
It seems like sentinel was an afterthought, and honestly not great at managing a HA redis cluster. The first red-flag was that is seems to literally change configuration files (internally), which I've never seen before.