Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
All
-
Regular Contributors Level (Easy to Medium)
Description
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.