[ILUGC] Re: Monthly meet ILUG-C Saturday, July 9, 2016

  • From: Srinivasan R <srinivasanr@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Mon, 11 Jul 2016 13:25:30 +0530

Yes Shakthi. I checked the docs and redis sentinel requires a quorum to
detect failures.
And needs a majority vote to elect a master from all slaves.
http://redis.io/topics/sentinel

For our installation, since we have one master and one slave per set of
slots,
when a master failed, the slave naturally became a master.



Thanks & Regards,
Srinivasan R

On Mon, Jul 11, 2016 at 10:55 AM, Shakthi Kannan <shakthimaan@xxxxxxxxx>
wrote:

Hi,

--- On Sun, Jul 3, 2016 at 10:08 PM, Srinivasan R <srinivasanr@xxxxxxxxx>
wrote:
| Topic: Deep Dive into Redis
\--

Thanks for the session.

I had mentioned that we always need an odd number of master nodes
during our discussion. The reference for the same is given in Consul
web page and in the Raft protocol:

"A quorum is a majority of members from a peer set: for a set of size
n, quorum requires at least (n/2)+1 members."

"A Raft cluster of 3 nodes can tolerate a single node failure while a
cluster of 5 can tolerate 2 node failures."

Source: https://www.consul.io/docs/internals/consensus.html

Regards,

SK

--
Shakthi Kannan
http://www.shakthimaan.com
_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/




_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts: