Do you think document versioning is something that will be implemented in future releases of CouchDB?
On 18. des. 2010, at 10:54, Sebastian Cohnen <[email protected]> wrote: > you cannot. revisions are only for concurrency control to handle conflicts > when replicating. If you need a document versioning you need to build that by > yourself. > > On 18.12.2010, at 10:45, Svein Helge Grinden wrote: > >> How can I set up CouchDB to keep the last 10 revisions of each document >> after compaction? >> >> >> On 18. des. 2010, at 09:33, Sebastian Cohnen >> <[email protected]> wrote: >> >>> 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 >>>> <[email protected]> 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 >>> >
