Hi,
I am implementing a high availability logging system and am seeking to validate my understanding of some of the leader election criteria and its implications for HA situation.
Our system has three nodes that each listen for upstream events on multicast addresses using the Aeron comms library (https://github.com/real-logic/Aeron). As Aeron only provides reliable rather than guaranteed messaging, we temporarily log events and then further transmit events to upstream processes for further processing if the upstream processes are available and flow control says it is safe to push events along our processing pipeline. We are using Rocks DB as the temporary data store and must process 1B events per day.
A key property of our system is that it must log all upstream events since failure to capture an event would mean the system could miss detection of fraudulent activity.
My first question is, am I correct in my understanding that in a three node system that at least 2 nodes must start before a leader can be elected? This then has the implication that if we lose two nodes that the system is down and that the third node would sit in a loop putting itself into Candidate mode and voting for itself.
From an availability point of view, this is less than ideal since it would be better that the remaining third node would continue to operate.
My second question is from a consistency point of what sort of errors would I expose myself to in the event that on a two node failure, the system automatically changes cluster size to one and thus elects itself as the leader?
Kind Regards,
Philip
--
You received this message because you are subscribed to the Google Groups "raft-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811