From couchdb-user-return-1461-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Sat Oct 04 21:27:14 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 58653 invoked from network); 4 Oct 2008 21:27:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2008 21:27:14 -0000 Received: (qmail 73789 invoked by uid 500); 4 Oct 2008 21:27:12 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 73751 invoked by uid 500); 4 Oct 2008 21:27:11 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 73740 invoked by uid 99); 4 Oct 2008 21:27:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2008 14:27:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nexneo@me.com designates 17.148.16.103 as permitted sender) Received: from [17.148.16.103] (HELO asmtpout028.mac.com) (17.148.16.103) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Oct 2008 21:26:09 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from [10.25.221.231] ([218.248.78.12]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K8800L3GGWAI4T1@asmtp028.mac.com> for couchdb-user@incubator.apache.org; Sat, 04 Oct 2008 14:26:44 -0700 (PDT) Message-id: <8B300B74-1623-446A-9D4C-DE0408EAEEE9@me.com> From: Niket Patel To: couchdb-user@incubator.apache.org In-reply-to: <27d8d0930810041410h5f1440ddu3268ea1e491eef98@mail.gmail.com> Subject: Re: Bulk Delete Date: Sun, 05 Oct 2008 02:56:32 +0530 References: <9E9A480C-EC26-427F-A00C-340B03F4E48A@me.com> <21DADEB5-1111-4BEB-AE55-B11E1B601B05@me.com> <27d8d0930810041410h5f1440ddu3268ea1e491eef98@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org To be clear, I can see following example from wiki (modified) http://wiki.apache.org/couchdb/HttpDocumentApi { "docs": [{ "_id": "0", "_rev": "3682408536", _deleted = true }, { "_id": "1", "_rev": "3206753266", "integer": 2, "string": "2" }] } if I send _bulk_docs with above POST request. next replication will replicate doc._id == 1 but not doc._id == 0? So, on all other nodes I need to send _bulk_docs request for doc._id == 0 And, _deleted = true looks bit weird. why its not _deleted: true or "_deleted": true ? On Oct 5, 2008, at 2:40 AM, Ayende Rahien wrote: > It remove a document from the repository, but it doesn't record this > fact. > As far as CDB is concerned, the document never exists. > The purge doesn't get replicated.