opensubscriber
   Find in this group all groups
 
Unknown more information…

g : gnumed-devel@gnu.org 5 July 2012 • 5:18PM -0400

Re: [Gnumed-devel] database replication with bucardo
by Sebastian Hilbert

REPLY TO AUTHOR
 
REPLY TO GROUP




From http://bucardo.org/slides/b5_multi_master/

Conflicts:

Multi-master conflict = same primary key changed on two or more servers
Built-in method: latest wins (all txns across all databases)
Custom methods: you decide, but there can be only one winning database
Not needed the great majority of the time!

Customcode:
Exceptions and conflict handlers are two examples
Can also run before the sync, before the copy, after copy, after sync
After-sync is handy for cache invalidation
Before-sync can even tell the sync not to run: like an advanced trigger


Sebastian

-------- Original-Nachricht --------
> Datum: Thu, 05 Jul 2012 11:10:17 +0200
> Von: "Sebastian Hilbert" <Sebastian.Hilbert@gmx....>
> An: gnumed-devel@gnu....
> Betreff: Re: [Gnumed-devel] database replication with bucardo

> Hi,
>
> This is part of the answer.
>
> > If there is a conflict, then either the standard conflict handler, or a
> > custom one, set per table, is run to sort things out.
>
> At least for data.
>
> Sebastian
>
> _______________________________________________
> Gnumed-devel mailing list
> Gnumed-devel@gnu....
> https://lists.gnu.org/mailman/listinfo/gnumed-devel

_______________________________________________
Gnumed-devel mailing list
Gnumed-devel@gnu....
https://lists.gnu.org/mailman/listinfo/gnumed-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.