Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3DDE10719 for ; Sun, 4 Aug 2013 00:52:59 +0000 (UTC) Received: (qmail 47897 invoked by uid 500); 4 Aug 2013 00:52:57 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 47855 invoked by uid 500); 4 Aug 2013 00:52:57 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 47843 invoked by uid 99); 4 Aug 2013 00:52:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Aug 2013 00:52:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adam.kocoloski@gmail.com designates 209.85.128.42 as permitted sender) Received: from [209.85.128.42] (HELO mail-qe0-f42.google.com) (209.85.128.42) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Aug 2013 00:52:51 +0000 Received: by mail-qe0-f42.google.com with SMTP id s14so1087539qeb.15 for ; Sat, 03 Aug 2013 17:52:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=P43Gd3x2CW2oQhh8r20uCNS9bw9Wio2zO/2c0lkz5Lo=; b=AoPKvWq9zJ2KLr5fDatIuxFqgqxcox/y+sXhc1PnAquZiuBCpmZM32xIr7Kdnzwwo6 CO/3tst2DCVEVoTO99T61gijUEmcmHJ7hv9GIe778fUbNckuV4rCAsCqlUzh8q/ODH6W NdTUIN4KeMkuHZIa4g2rpRX3dn/7XsE36RUtLqa7yCK/y9cg0qaXrPtMXIofgA6C9tf1 SA8yLUccp+RNOyQvxdNlaeOTco2yF3eHRf3XNMlWKEZTopn5tNPeoZBFt/CQhuF+k/zt 0R2RbmiKsd+N0OKwj6luvy511PkvEL4aPzBVd61FEYiZU6xbbKAKZJggI9mcD+sI/URL elJQ== X-Received: by 10.49.0.170 with SMTP id 10mr17710519qef.3.1375577550921; Sat, 03 Aug 2013 17:52:30 -0700 (PDT) Received: from [10.243.155.174] (mobile-198-228-196-013.mycingular.net. [198.228.196.13]) by mx.google.com with ESMTPSA id y4sm1854388qai.5.2013.08.03.17.52.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 03 Aug 2013 17:52:29 -0700 (PDT) Subject: Re: Attachment replication References: From: Adam Kocoloski Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (10B350) In-Reply-To: Message-Id: <5FFF37C5-D2B2-4F2C-8CCE-93E25773CC43@gmail.com> Date: Sat, 3 Aug 2013 20:52:28 -0400 To: "user@couchdb.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-Virus-Checked: Checked by ClamAV on apache.org Yes, the system provides that guarantee. Some versions of CouchDB transfers t= he attachments in separate requests, but when the doc is in the target's _ch= anges you can be assured that all of its attachments have made the trip. Ch= eers, Adam On Aug 3, 2013, at 5:36 PM, Nick North 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 th= e > 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, >=20 > Nick North