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

Adam Kocoloski resolved COUCHDB-2532.
-------------------------------------
    Resolution: Not a Problem

Hi Leon, when you compact a view group you compact the indexes generated by the 
MR functions in that group, not the design doc itself. If you examine the 
/<db>/_design/<ddoc>/_info resource before and after the view group compaction 
you should see the difference in disk consumption.

> Compact a given design document
> -------------------------------
>
>                 Key: COUCHDB-2532
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2532
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Futon, HTTP Interface
>            Reporter: Leon Kaiser
>
> Hello,
> when I send a compact-command with a path to a ViewDocument, the server 
> returns that this command has been processed successfully ("Ok"=>bool(true), 
> Status=>202).
> But when I open the same ViewDocument via Futon all former versions of the 
> documents are still there.
> When I compact the whole database (sending a request without specifying a 
> ViewDocument) I get the same response as well ("Ok"=>bool(true), Status=>202) 
> and the ViewDocument as all other Documents will be compacted and their old 
> versions are removed (they do not appear in Futon anymore) everything works 
> fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to