couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randall Leeds (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1141) Docs deleted via PUT or POST do not have contents removed.
Date Tue, 26 Apr 2011 22:25:03 GMT


Randall Leeds commented on COUCHDB-1141:

>From IRC:
<tilgovi> huh. is 1141 actually an issue?
<tilgovi> it's certainly a lil weird
<tilgovi> but like, delete is via DELETE
<davisp> tilgovi: _bulk_docs?
<tilgovi> ohhhhhhhhhh snappppp

I think a proper fix should include detecting this during compaction and removing the contents
at that point.

> Docs deleted via PUT or POST do not have contents removed.
> ----------------------------------------------------------
>                 Key: COUCHDB-1141
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>         Environment: All
>            Reporter: Wendall Cada
>            Assignee: Robert Newson
>             Fix For: 1.2
> 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:

View raw message