After running that script, compaction will actually reclaim the diskspace occupied by the deleted documents.
I make it not delete design documents by default, changing that is left as an exercise for the reader. (hint: remove two lines ;)
After running that script, compaction will actually reclaim the diskspace occupied by the deleted documents.
I make it not delete design documents by default, changing that is left as an exercise for the reader. (hint: remove two lines ;)