couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Carey <paul.p.ca...@gmail.com>
Subject Re: Updating views in a production system
Date Tue, 09 Jun 2009 13:28:59 GMT
Hi Nadav

> is it possible to avoid downtime when adding/editing a view on a
> single replica setup?

I deploy in a two-step process that avoids downtime.

1. Create a new design doc that contains all the pre-existing views
plus any new views. Query it, and once the query has returned...
2. Deploy your code that refers to the new design doc.

Paul

Mime
View raw message