gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] database replication with bucardo


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] database replication with bucardo
Date: Thu, 05 Jul 2012 11:18:40 +0200

>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" <address@hidden>
> An: address@hidden
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnumed-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]