You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Mario Scheliga <ma...@sourcegarden.de> on 2010/02/21 16:13:39 UTC

HTTP Move

hello dear users,

does anybody know that Move is supported or not? I've read the wiki  
entry to this, but i think it's not, is that right?

thx alot
mario


--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin


Re: HTTP Move

Posted by Brian Candler <B....@pobox.com>.
MOVE to rename an entire database could be useful though. I've done it by
renaming both db and view dirs at the filesystem level and restarting
couchdb, but some times odd things happen (which I can't remember exactly). 
It's probably only safe if you stop couchdb entirely before renaming.

Re: HTTP Move

Posted by Mario Scheliga <ma...@sourcegarden.de>.
thx alot louis,

so its irrelevant for 0.10 statistics, right?

:-)
mario

Am 21.02.2010 um 16:51 schrieb Louis Gerbarg:

> It is not. The fundamental issue is that actions like GET, PUT, and  
> DELETE
> can be handled atomically, whereas MOVE cannot (since it deals with  
> multiple
> documents). It was supported at one point (see <
> http://wiki.apache.org/couchdb/HTTP_Document_API>), but was removed  
> when
> people started doing serious work with replication and distributed  
> nodes
> since it couldn't be made to work correctly in many common cases  
> (though if
> you go back through the mailing list there was some heated  
> discussion about
> that at the time about ways to handle that).
>
> The info on the wiki made sense back when 0.9 came out since it  
> impacted
> some users, but it has been a long time, and at this point I suspect  
> having
> any mention of it on the page is more confusing than useful.
>
> Louis
>
> On Sun, Feb 21, 2010 at 10:13 AM, Mario Scheliga <mario@sourcegarden.de 
> >wrote:
>
>> hello dear users,
>>
>> does anybody know that Move is supported or not? I've read the wiki  
>> entry
>> to this, but i think it's not, is that right?
>>
>> thx alot
>> mario
>>
>>
>> --
>> Sourcegarden GmbH HR: B-104357
>> Steuernummer: 37/167/21214 USt-ID: DE814784953
>> Geschaeftsfuehrer: Mario Scheliga, Rene Otto
>> Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
>> Schoenhauser Allee 51, 10437 Berlin
>>
>>


--
Sourcegarden GmbH HR: B-104357
Steuernummer: 37/167/21214 USt-ID: DE814784953
Geschaeftsfuehrer: Mario Scheliga, Rene Otto
Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
Schoenhauser Allee 51, 10437 Berlin


Re: HTTP Move

Posted by Louis Gerbarg <lg...@gmail.com>.
It is not. The fundamental issue is that actions like GET, PUT, and DELETE
can be handled atomically, whereas MOVE cannot (since it deals with multiple
documents). It was supported at one point (see <
http://wiki.apache.org/couchdb/HTTP_Document_API>), but was removed when
people started doing serious work with replication and distributed nodes
since it couldn't be made to work correctly in many common cases (though if
you go back through the mailing list there was some heated discussion about
that at the time about ways to handle that).

The info on the wiki made sense back when 0.9 came out since it impacted
some users, but it has been a long time, and at this point I suspect having
any mention of it on the page is more confusing than useful.

Louis

On Sun, Feb 21, 2010 at 10:13 AM, Mario Scheliga <ma...@sourcegarden.de>wrote:

> hello dear users,
>
> does anybody know that Move is supported or not? I've read the wiki entry
> to this, but i think it's not, is that right?
>
> thx alot
> mario
>
>
> --
> Sourcegarden GmbH HR: B-104357
> Steuernummer: 37/167/21214 USt-ID: DE814784953
> Geschaeftsfuehrer: Mario Scheliga, Rene Otto
> Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
> Schoenhauser Allee 51, 10437 Berlin
>
>