couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <B.Cand...@pobox.com>
Subject Re: conflict resolving
Date Thu, 08 Oct 2009 15:24:41 GMT
On Thu, Oct 08, 2009 at 04:34:49PM +0200, Nils Breunese wrote:
> You should check the HTTP status code when you add data to your  
> database. If you get back a 409 Conflict then you should perform your  
> conflict resolving code.

... which only works if all your updates go to the same couchdb server
(i.e. you are not using multi-master replication).

Mime
View raw message