couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Mische (Commented) (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1358) Only delete files with .view extension
Date Thu, 08 Dec 2011 10:24:39 GMT


Volker Mische commented on COUCHDB-1358:

The reason was simplicity. No new conf variable etc.

With the indexer refactor (which is is trunk) it's not an issue anymore.

I can fully understand if there's no good reason for CouchDB to apply this patch. But it made
sense to have it tracked somewhere at least.
> Only delete files with .view extension
> --------------------------------------
>                 Key: COUCHDB-1358
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 1.1.1
>            Reporter: Volker Mische
>            Priority: Minor
>             Fix For: 1.1.2
>         Attachments: cleanup-views-only.patch
> Currently all files in the view directory that are not used by any View group are deleted
by the _view_cleanup endpoint. If other indexers (like GeoCouch) store indexes in the same
directory, they get deleted as well.
> The attached patch changes the bahaviour and only deletes files ending with ".view".
Leftovers from compaction are deletes as well as they end with ".compact.view".

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message