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: Revision limit per-document
Date Sat, 18 Dec 2010 08:33:07 GMT
just to clear things up: Setting the revision limit doesn't mean that CouchDB will keep around
10 revisions of each document. If there is no conflict, only the current version is kept around
after compaction.

On 18.12.2010, at 04:30, Paul Davis wrote:

> On Fri, Dec 17, 2010 at 9:19 PM, Svein Helge Grinden
> <svein.helge.grinden@gmail.com> wrote:
>> Hi
>> 
>> I wonder if it's possible to set the revision limit per-document and not
>> just for the whole database?
>> 
>> I would like to keep lets say 10 revisions for each document. After compact
>> database is ran I would still want to have up to 10 revision of each
>> document.
>> Far as I have figured out, I can only set the total number of revisions for
>> the hole database.
>> 
> 
> The revs_limit is per document already. There is no database wide
> revision limit.
> 
> HTH,
> Paul Davis


Mime
View raw message