-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
write documentation #1
Comments
I'd be delighted to see some notes or even documentation on how to use unsplit with ejabberd to automatically resolv network splits. With ejabberd I normally dont mind losing a little info if it means I can maintain a coherent cluster - and users on all nodes can continue to communicate with each other. |
Hi, I'm new to Erlang and Mnesia but I have set up a cluster of 3 ejabberd XMPP servers. In my context, these 3 servers are suppose to encounter netsplits quite often. That's why I'm very interested in your framework. I'd like to give it a try but I have no idea how to install it. Could you provide me a simple step-by-step instructions? Thanks. |
Can't say that the documentation is stellar, but: ... and the README.md There is also some detail in http://www.erlang-factory.com/upload/presentations/286/MnesiaEFLondon2010.pdf That is, in order to use unsplit, just make sure it's started. Then, add an 'unsplit_method' user property for tables that you want to be able to merge. For example:
|
Thanks for the links. It does help me but how can I add an 'unsplit_method' to an existing table? The tables are created by ejabberd and I would like to add the user_properties field to these tables, without having to modify ejabberd source code so it does it when creating the tables. Alternative question: Since I plan to use the same method for every table, how can I set the default method as mention in the README.md: |
I discovered that the functions E.g. The default method can be set via an {default_method, {unsplit_lib, vclock, [vclock]}} |
No description provided.
The text was updated successfully, but these errors were encountered: