incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: purge old revisions of documents
Date Mon, 12 Apr 2010 00:01:36 GMT
On Mon, Apr 12, 2010 at 00:54, Ben Hall <ben2004uk@googlemail.com> wrote:
> But what if you wanted to keep some old versions? Doesn't compacting
> remove all ?

This question comes up a lot. If you'd like to preserve old revisions
of documents you should save them explicitly. Saving them as their own
documents or as attachments to the newest revision are two typical
patterns for this behavior.

You should never rely on couch to preserve your old document revisions.

-Randall

Mime
View raw message