directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan D. Cabrera" <...@toolazydogs.com>
Subject Re: [replication] Master slave replication will not suffice
Date Thu, 24 Feb 2005 16:42:04 GMT


David Boreham wrote:

>> Cool, this sounds interesting.  Let's say that server A gets an 
>> update to change foo=dog and and the same time server B gets an 
>> update to change foo=cat.  Replication takes a while and 15 minutes 
>> later, A gets the update to change foo=cat from B and B gets the 
>> update to change foo=dog.  How does that get resolved?
>
>
> One of them wins. There are various possible choices,
> however you might find it useful to think of a 'principle
> of least surprise' here. e.g. if the change made later
> in time wins, that might be less of a surprise than if
> an earlier change wins.
>
How do we synchronize their clocks?


Regards,
Alan




Mime
View raw message