couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Blakey <antony.bla...@gmail.com>
Subject Re: Bulk updates and eventual consistency
Date Wed, 01 Apr 2009 23:17:29 GMT
I am attempting to keep this: http://github.com/AntonyBlakey/couchdb/tree/transactional_bulk_docs

  reasonably up-to-date with trunk. It provides transactional  
_bulk_docs if you add "fail_on_conflict": true to the top-level JSON  
body in the request. If fails with a 419 if there are any conflicts  
(and makes no db changes). The Conflict data is threaded back to the  
http response point with the intention of returning it as the response  
body, but I've not done that yet. Patch welcome.

The mod is designed to be easy to maintain wrt. trunk.

Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

He who would make his own liberty secure, must guard even his enemy  
from repression.
   -- Thomas Paine



Mime
View raw message