couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-1141) Docs deleted via PUT or POST do not have contents removed.
Date Mon, 23 May 2011 16:50:47 GMT

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

Robert Newson resolved COUCHDB-1141.
------------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.2)

We will not be changing this behavior. The contents of the body that you post with your DELETE
will be preserved by design.

Documentation should be improved so that this is clear and as many couch clients should delete
by forming an object with just _id, _rev and deleted rather than naively adding _deleted:true
to the full document.


> Docs deleted via PUT or POST do not have contents removed.
> ----------------------------------------------------------
>
>                 Key: COUCHDB-1141
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1141
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>         Environment: All
>            Reporter: Wendall Cada
>            Assignee: Robert Newson
>
> If a doc is deleted via -X DELETE, the resulting doc contains only id/rev_deleted:true.
However, if a doc is deleted via PUT or POST, through adding _deleted:true, the entire contents
of the doc remains stored. Even after compaction, the original document contents remain.
> This issue is causing databases with large docs to become bloated over time, as the original
doc contents remain in the database even after being deleted.

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

Mime
View raw message