incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Tisdall <tisd...@gmail.com>
Subject Re: oops! cancel temporary view creation?
Date Tue, 22 May 2012 14:00:53 GMT
Yep, a call to _view_cleanup worked as you expected...

curl -H "Content-Type: application/json" -X POST
http://localhost:5984/my_database/_view_cleanup

On Mon, May 21, 2012 at 2:01 PM, Matthieu Rakotojaona <
matthieu.rakotojaona@gmail.com> wrote:

> On Mon, May 21, 2012 at 7:38 PM, Tim Tisdall <tisdall@gmail.com> wrote:
> > Sorry for my ignorance, but how do you delete a temporary view?  Or can I
> > just safely delete the .view file in /var/lib/couchdb since it's
> transient?
>
> If I understand the .view file, it is unique as long as you don't
> change your design document. So you can just restart the server and
> cleanup your views; this will delete your temporary .view file.
>
>
> --
> Matthieu RAKOTOJAONA
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message