|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
What are you using for replication? -Kevin Hi Kevin, I set up a master-master asynchronous replication of one database with bucardo 4.4.5 and testing right now 4.99.3. I know the standard settings when a conflict between same id rows comes up : source - the rows on the "source" database always "win" (in a conflict, we copy rows from source to target) target - the rows on the "target" database always winskip - any conflicted rows are simply not replicated. Not recommended for most cases.
random - each database has an equal chance of winning each time latest - the row that was most recently changed winsabort - the sync is aborted on a conflict You can also provide custom conflict handlers to allow you to use business logic for better conflict resolution.
I have not found info or examples about the custom option yet, and still on the search ... Cheers, Amador A. On 04/02/2012 11:57 AM, Kevin Grittner wrote:
amador alvarez<aalvarez@xxxxxx> wrote:I am trying to find any kind of information or examples to deal with custom conflict resolution on swap syncs in a master-master replication.What are you using for replication? -Kevin
-- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin
[Postgresql General] [Postgresql Performance] [Postgresql PHP] [Postgresql Jobs] [PHP Users] [PHP Databases] [PHP Home] [PHP on Windows] [Kernel Newbies] [PHP Classes] [PHP Databases] [Yosemite]