couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Anderson <>
Subject Re: view definition _rev behavior
Date Wed, 04 Feb 2009 21:47:33 GMT
On Wed, Feb 4, 2009 at 1:36 PM, Paul Davis <> wrote:
> On Wed, Feb 4, 2009 at 4:16 PM, Damien Katz <> wrote:
>> This would certainly be a nice thing to have, but you can get pretty much
>> the same behavior by simply using a new design document id.
>> -Damien
> An extension to Damien's idea I just thought of loading the new
> _design doc under a different name and generating the views. With a
> patch to MOVE we could also rename the view file on disk. Making sure
> the swap was atomic could be a PITA though.

Yes, index preserving MOVEs could be pretty handy. Then a deploy
script could push the new design, query the view, and when the query
returns, MOVE the staging design doc into production.

Thanks Paul, this is simpler...

Chris Anderson

View raw message