couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Parkin <i...@timparkin.co.uk>
Subject Re: Bulk Docs - 'remove changes so far' Functionality?
Date Fri, 13 Mar 2009 15:12:31 GMT
Wout Mertens wrote:
> On Mar 13, 2009, at 10:54 AM, Tim Parkin wrote:
> 
>> The current arguments against bulk docs are against it's atomicity. I
>> would be reasonably happy to have a bulk docs that wasn't atomic but
>> allowed some from of 'remove the changes applied so far' functionality.
> 
> So out of interest, to get into the nitty gritty details, is this the
> problem? The fact that CouchDB handles one document at a time and can't
> remove a change?
<snip>
> 
> Wout.

I think all bulk doc changes were written somewhere and then only
switched in once the last was successful.. so no locking.

With the new bulk docs, you could apply bulk doc change, find out the
last one was wrong and then discover that all but the last one had
already been replicated..

Tim

Mime
View raw message