Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent_database after a network split #2

Open
joudinet opened this issue Feb 5, 2014 · 3 comments
Open

Inconsistent_database after a network split #2

joudinet opened this issue Feb 5, 2014 · 3 comments

Comments

@joudinet
Copy link

joudinet commented Feb 5, 2014

I set up 3 master nodes as described in your blog. After configuring the first node (node1), I use your join_as_master method in both node2 and node3:
easy_cluster:join_as_master('ejabberd@node1').
At first glance, it works perfectly. However, after a network split, the system didn't work properly. Restarting node2 in live mode, I saw the following error message:
Mnesia(ejabberd@node2): ** ERROR ** mnesia_event got {inconsistent_database, starting_partitioned_network, ejabberd@node1}

I don' t know how to solve this problem and, more important, how to make sure the ejabberd cluster still works after a network split, without a manual intervention. Any idea?

@chadillac
Copy link
Owner

We currently run our cluster behind a load balancer on a vlan so netsplits aren't something I've come across. Multi-master might not work for this case where these net-splits might occur. I don't have the time to troubleshoot this, but you're welcome to fork away. There are some other issues I have seen creep up in the wild that I'm currently troubleshooting myself.

@joudinet
Copy link
Author

Ok, I've read the new disclaimer, don't worry ;-)
Anyway, I had a look at the unsplit framework and I think I can use it to solve the conflicts. As soon as I have something working, I let you know.

@zhuoyikang
Copy link

what is network split means ?
div into two LAN ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants