couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <adam.kocolo...@gmail.com>
Subject Re: couchdb transactions changes
Date Mon, 09 Feb 2009 16:46:20 GMT
On Feb 9, 2009, at 11:23 AM, Paul Davis wrote:

>>> Assuming the replication processes doesn't interleave documents from
>>> different MVCC commits,
>>
>> I believe that's correct.
>>
>
> I think it's only correct if you don't edit the doc after the
> _bulk_docs call. Making two calls to _bulk_docs and then editing a
> document from the first transaction would make things interleave I
> think.

It sounds like we're on the same page, Paul.  If you define a commit  
as a list of id/rev pairs there's no interleaving.  Call the doc that  
was edited twice A/"foo" and A/"bar".  A/"foo" is part of the first  
_bulk_docs, and it disappears from the replication stream once A/"bar"  
lands.

Adam

Mime
View raw message