The user says he just added _deleted:true to his documents, which marks the 
document as deleted but will forever preserve all values in the document, 
including attachments. You’re right that compaction will remove bodies and 
attachments from non-leaf revisions, however.

B.

On 7 Mar 2014, at 15:56, Jens Alfke <[email protected]> wrote:

> 
> On Mar 7, 2014, at 1:47 AM, Robert Samuel Newson <[email protected]> wrote:
> 
>> Adding _deleted:true marks the document as deleted only, it does not remove 
>> the body or the attachments. This is why your disk usage has not reduced; 
>> you haven’t reduced the size of your documents.
> 
> Gabriel did say the database is “compacted periodically”. So that should be 
> getting rid of the old bodies and attachments.
> 
> —Jens

Reply via email to