incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick North <nort...@gmail.com>
Subject Re: Attachment replication
Date Sun, 04 Aug 2013 06:15:41 GMT
Perfect - thank you. For any future readers of this, my original question should have referred
to the changes "feed" rather than "field" of course.

Nick

On 4 Aug 2013, at 01:52, Adam Kocoloski <adam.kocoloski@gmail.com> wrote:

> Yes, the system provides that guarantee. Some versions of CouchDB transfers the attachments
in separate requests, but when the doc is in the target's _changes you can be assured that
all of its attachments have made the trip.  Cheers,
> 
> Adam
> 
> On Aug 3, 2013, at 5:36 PM, Nick North <north.n@gmail.com> wrote:
> 
>> If I create a document with attachments in a single HTTP call, either
>> inline or in MIME format, does it all replicate as a single unit, or do the
>> attachments replicate separately? I'd like to know that, if the document
>> turns up in the changes field of a replica, then both the document and the
>> attachments can be requested immediately. Thanks for your help,
>> 
>> Nick North

Mime
View raw message