Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 88932 invoked from network); 26 Nov 2008 21:29:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2008 21:29:43 -0000 Received: (qmail 89758 invoked by uid 500); 26 Nov 2008 21:29:52 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 89731 invoked by uid 500); 26 Nov 2008 21:29:52 -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 89720 invoked by uid 99); 26 Nov 2008 21:29:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 13:29:52 -0800 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: local policy) Received: from [80.68.94.123] (HELO tumbolia.org) (80.68.94.123) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Nov 2008 21:28:24 +0000 Received: from nslater by tumbolia.org with local (Exim 4.69) (envelope-from ) id 1L5Rwb-0001kj-NY for couchdb-user@incubator.apache.org; Wed, 26 Nov 2008 21:29:09 +0000 Date: Wed, 26 Nov 2008 21:29:09 +0000 From: Noah Slater To: couchdb-user@incubator.apache.org Subject: Re: partial/diff updates? Message-ID: <20081126212909.GM16293@tumbolia.org> Mail-Followup-To: couchdb-user@incubator.apache.org References: <41DF7DCF-E050-4A02-B6C6-100787592E2D@gmail.com> <20081126202034.GK16293@tumbolia.org> <12731098-3A82-4142-AEEF-27E5EBA62329@gmail.com> <8c9c6d710811261240n6ebf2ccbkc4ac2dd8bfacb89f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Noah: Awesome User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Nov 26, 2008 at 01:05:57PM -0800, Liam Staskawicz wrote: > Hm - maybe it's a different consideration for attachments, but I don't see why > you would need to keep a diff around in the context of updating a document. > Apply the updates from the PUT to the latest revision and then call it the new > revision. Crazy? Nope, I wouldn't see it working like this either. I would imagine that the diff would be processed by CouchDB, and the new document applied as the latest revision. No need to keep the diff. -- Noah Slater, http://tumbolia.org/nslater