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

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

    Description: When a database 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.  (was: 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.)
        Summary: cleanup views does not work when a database has no design 
documents  (was: cleanup views does not work when a design document has no 
views)

Thanks, Adam. That's what I intended to fix, I just misunderstood the exact 
conditions. Updated description for posterity.
                
> cleanup views does not work when a database has no design documents
> -------------------------------------------------------------------
>
>                 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
>            Assignee: Randall Leeds
>            Priority: Minor
>             Fix For: 1.1.1, 1.2
>
>         Attachments: fix_empty_ddoc_cleanup.patch, view_cleanup_etap.patch
>
>
> When a database 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to