couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <>
Subject Re: Removing MOVE
Date Tue, 17 Mar 2009 11:37:16 GMT
On Tue, Mar 17, 2009 at 12:20:42PM +0100, Jan Lehnardt wrote:
> Hi dev@,
> CouchDB supports the HTTP method MOVE to move a
> document to a new document id within a database. MOVE
> is really just a convenience method for COPY & DELETE.
> In fact internally, it does just that. Damien says the COPY &
> DELETE that MOVE does under the hood is not atomic on a
> single node. And it is hard to support in the multi-node setup.

So, it's provided as a user convenience feature at no cost co CouchDB.

> Hence, I propose to remove the MOVE feature. A client
> can simply do COPY & DELETE to achieve the same
> result (modulo having a concurrent change to the source
> doc between the COPY and the DELETE which should
> be taken care of by the application anyway).

And you're proposing to remove this useful feature for what reason? Heh.

Noah Slater,

View raw message