incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Cohnen <sebastiancoh...@googlemail.com>
Subject Re: purge old revisions of documents
Date Mon, 12 Apr 2010 06:04:58 GMT
Hey John,

On 12.04.2010, at 05:43, John Merrells wrote:

> 
> Thanks. I'd assumed that document revisions were kept forever (ala git)
> and that compaction only changed the organization of the database,
> rather than the data itself.

the point is, that the _rev-token is not *really* for versioning. it is only used for concurrency
control. that being said you can think of compaction as some kind of garbage collection (git
gc), not only reorganizing but also purging not needed stuff.
Mime
View raw message