You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Randall Leeds (JIRA)" <ji...@apache.org> on 2011/04/23 02:38:05 UTC

[jira] [Updated] (COUCHDB-1136) cleanup views does not work when a design document has no views

     [ https://issues.apache.org/jira/browse/COUCHDB-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Leeds updated COUCHDB-1136:
-----------------------------------

    Attachment: fix_empty_ddoc_cleanup.patch

This patch fixes the issue. Test forthcoming in a separate patch.

> cleanup views does not work when a design document has no views
> ---------------------------------------------------------------
>
>                 Key: COUCHDB-1136
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1136
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 1.0.2
>            Reporter: Randall Leeds
>            Priority: Minor
>         Attachments: fix_empty_ddoc_cleanup.patch
>
>
> When a view has no design documents the cleanup code creates an empty regex which matches everything, thus saving all the index files. In this case it should delete everything instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira