couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: Removing MOVE
Date Tue, 17 Mar 2009 12:21:10 GMT
On Tue, Mar 17, 2009 at 01:15:01PM +0100, Jan Lehnardt wrote:
> MOVE is commonly understood to be an atomic sequence of copy & delete.
> In CouchDB (single or multi-node) MOVE is not atomic.

I forgot that MOVE is from RFC2518 (WebDAV) not RFC2616 (HTTP).

  The MOVE operation on a non-collection resource is the logical equivalent of a
  copy (COPY), followed by consistency maintenance processing, followed by a
  delete of the source, where all three actions are performed atomically.

                                - http://tools.ietf.org/html/rfc2518#section-8.9

I'm sold. Let's toss it.

-- 
Noah Slater, http://tumbolia.org/nslater

Mime
View raw message