Split Brain Recovery

190 views
Skip to first unread message

rishav.s...@moonshinetechnology.com

unread,
May 14, 2019, 9:22:32 AM5/14/19
to Hazelcast
Hi,

While going through Hazelcast latest documentation, i came across this statement under Split Brain Recovery section : "If they have an equal number of members, then a hashing algorithm determines the merging cluster".

I didn't understand this. How exactly the hashing algo works here ? Can someone explain the internal details of this hashing algo ?

Vassilis Bekiaris

unread,
May 14, 2019, 9:36:12 AM5/14/19
to haze...@googlegroups.com
Hi,

when recovering from network partition, there are a number of criteria based on which a subcluster determines whether it should merge towards the other or not. When subclusters have the same number of data members, the exact algorithm is not really important; all that matters is to have a deterministic algorithm that will be executed on both sub-clusters and both will reach the same decision in terms of which subcluster should merge towards the other.


Cheers,
Vassilis


--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.
To view this discussion on the web visit https://groups.google.com/d/msgid/hazelcast/6e06347d-62f5-4f20-9451-d9cefa635aa3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rishav.s...@moonshinetechnology.com

unread,
May 22, 2019, 5:09:55 AM5/22/19
to Hazelcast
Thanks a lot for the info :)

rishav.s...@moonshinetechnology.com

unread,
May 31, 2019, 6:40:40 AM5/31/19
to Hazelcast
How does Hazelcast detect N/w split in the cluster ? I suppose there would be some background task to do that. What is the name of that background task ?

Also, once there is a n/w split how would hazelcast start the merging process? Does the above same background task initiates the merge as well? 

rishav.s...@moonshinetechnology.com

unread,
Jun 3, 2019, 2:58:59 AM6/3/19
to Hazelcast
Any thoughts on this?


On Tuesday, May 14, 2019 at 6:52:32 PM UTC+5:30, Rishav Shandilya wrote:

Ali Gurbuz

unread,
Jun 3, 2019, 3:13:50 AM6/3/19
to Hazelcast


On Tue, May 14, 2019 at 4:36 PM Vassilis Bekiaris <vbek...@gmail.com> wrote:
Hi,

when recovering from network partition, there are a number of criteria based on which a subcluster determines whether it should merge towards the other or not. When subclusters have the same number of data members, the exact algorithm is not really important; all that matters is to have a deterministic algorithm that will be executed on both sub-clusters and both will reach the same decision in terms of which subcluster should merge towards the other.


Cheers,
Vassilis





--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

For more options, visit https://groups.google.com/d/optout.


--

Ali Gurbuz
Distinguished Engineer

Mahir İz Cad. No:35, Altunizade, İstanbul
a...@hazelcast.com 
+90 507 857 7815
skype: isbiroglu
@aligurbuz

rishav.s...@moonshinetechnology.com

unread,
Jun 3, 2019, 3:38:56 AM6/3/19
to Hazelcast
I have seen his comment. His answer is related to my question which i had asked earlier. But this time my question is different. My doubt is :-

Let's say i have deployed a cluster and its running. Now, once there is a n/w partitioning, how is Hazelcast going to detect that? I suppose there is some background job which constantly monitors the cluster for split brain. So that background job will detect it. Once split brain has been detected, is it the same background task which initiates the merge process as well? If yes, what's the name of it? 


On Tuesday, May 14, 2019 at 6:52:32 PM UTC+5:30, Rishav Shandilya wrote:

Ozan Kılıç

unread,
Jun 12, 2019, 5:33:50 AM6/12/19
to haze...@googlegroups.com
Master node periodically checks if there is a separate cluster. 
If found, it sends SplitBrainJoinMessage to the other cluster and the merge process starts. 



On Fri, May 31, 2019 at 1:40 PM <rishav.s...@moonshinetechnology.com> wrote:
How does Hazelcast detect N/w split in the cluster ? I suppose there would be some background task to do that. What is the name of that background task ?

Also, once there is a n/w split how would hazelcast start the merging process? Does the above same background task initiates the merge as well? 

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at https://groups.google.com/group/hazelcast.

rishav.s...@moonshinetechnology.com

unread,
Jun 19, 2019, 4:04:42 AM6/19/19
to Hazelcast
Thanks for the info.


On Tuesday, May 14, 2019 at 6:52:32 PM UTC+5:30, Rishav Shandilya wrote:
Reply all
Reply to author
Forward
0 new messages