couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1136) cleanup views does not work when a design document has no views
Date Tue, 11 Oct 2011 17:57:11 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125228#comment-13125228
] 

Adam Kocoloski commented on COUCHDB-1136:
-----------------------------------------

Randall, I think you fixed a bug here, but not the one you described.  A ddoc with no views
still generates a signature.  It's a database with no ddocs that used to generate the regex
matching everything.
                
> 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
>            Assignee: Randall Leeds
>            Priority: Minor
>             Fix For: 1.1.1, 1.2
>
>         Attachments: fix_empty_ddoc_cleanup.patch, view_cleanup_etap.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.
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

        

Mime
View raw message