You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jim Lindley (JIRA)" <ji...@apache.org> on 2008/04/09 16:50:27 UTC

[jira] Created: (COUCHDB-36) Save Revision from Compaction

Save Revision from Compaction
-----------------------------

                 Key: COUCHDB-36
                 URL: https://issues.apache.org/jira/browse/COUCHDB-36
             Project: CouchDB
          Issue Type: New Feature
          Components: Database Core
         Environment: standard environment
            Reporter: Jim Lindley
            Priority: Minor


Allow setting a flag in a document to prevent compaction of the document revision during a compaction.

Use case: need to refer or keep revisions for legal/accounting purposes, or using a document as a template to interpret other documents which may have been created from that specific template/document.

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


Re: [jira] Updated: (COUCHDB-36) Save Revision from Compaction

Posted by Jim Lindley <ji...@gmail.com>.
>     Description:
>  Allow setting a flag in a document to prevent deleting outdated document revisions during a compaction.
>
>  >                 Key: COUCHDB-36
>  >                 URL: https://issues.apache.org/jira/browse/COUCHDB-36

Does it even make sense to add a _retain key to prevent compaction?

Or is the fact that CouchDB keeps previous revisions of documents just
an implementation detail to deal with conflicts / concurrency, and so
I shouldn't be tempted to use it for other purposes?

Sorry if I missed any earlier discussions about this topic,

Jim

[jira] Updated: (COUCHDB-36) Save Revision from Compaction

Posted by "Jim Lindley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Lindley updated COUCHDB-36:
-------------------------------

    Description: 
Allow setting a flag in a document to prevent deleting outdated document revisions during a compaction.

Use case: need to refer to previous revisions for legal/accounting purposes, or using a document as a template to interpret other documents which may have been created from that specific template/document.

  was:
Allow setting a flag in a document to prevent compaction of the document revision during a compaction.

Use case: need to refer or keep revisions for legal/accounting purposes, or using a document as a template to interpret other documents which may have been created from that specific template/document.


> Save Revision from Compaction
> -----------------------------
>
>                 Key: COUCHDB-36
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-36
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>         Environment: standard environment
>            Reporter: Jim Lindley
>            Priority: Minor
>
> Allow setting a flag in a document to prevent deleting outdated document revisions during a compaction.
> Use case: need to refer to previous revisions for legal/accounting purposes, or using a document as a template to interpret other documents which may have been created from that specific template/document.

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


[jira] Closed: (COUCHDB-36) Save Revision from Compaction

Posted by "Jim Lindley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Lindley closed COUCHDB-36.
------------------------------

    Resolution: Invalid

Revisions shouldn't be used for archival purposes, so saving them from compaction doesn't make sense.

> Save Revision from Compaction
> -----------------------------
>
>                 Key: COUCHDB-36
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-36
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>         Environment: standard environment
>            Reporter: Jim Lindley
>            Priority: Minor
>
> Allow setting a flag in a document to prevent deleting outdated document revisions during a compaction.
> Use case: need to refer to previous revisions for legal/accounting purposes, or using a document as a template to interpret other documents which may have been created from that specific template/document.

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