couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Davies (JIRA)" <>
Subject [jira] Updated: (COUCHDB-69) Allow selective retaining of older revisions to a document
Date Sat, 15 Aug 2009 10:21:14 GMT


Jason Davies updated COUCHDB-69:

    Attachment: history_revs.3.patch

Latest patch with support for deleting old revs.  My solution is that when history is turned
on, the compactor will only delete old revs if they have doubled-up delete nodes, which won't
occur normally.  Doubled-up delete nodes can be created by deleting old revs and specifing
?forget=true as a query parameter. These double-up nodes should also get replicated.  Would
appreciate a review by someone.

> Allow selective retaining of older revisions to a document
> ----------------------------------------------------------
>                 Key: COUCHDB-69
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>         Environment: All
>            Reporter: Jan Lehnardt
>            Assignee: Paul Joseph Davis
>            Priority: Minor
>             Fix For: 0.10
>         Attachments: history_revs.2.patch, history_revs.3.patch, history_revs.patch
> At the moment, compaction gets rid of all old revisions of a document. Also, replication
also deals with the latest revision. It would be nice if it would be possible to specify a
list of revisions to keep around that do not get compacted away and replicated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message