You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jens Alfke (JIRA)" <ji...@apache.org> on 2012/09/05 02:31:07 UTC

[jira] [Commented] (COUCHDB-1529) Add API to find the deleted branches of a doc's rev tree

    [ https://issues.apache.org/jira/browse/COUCHDB-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13448249#comment-13448249 ] 

Jens Alfke commented on COUCHDB-1529:
-------------------------------------

Note: It's possible to do this currently by iterating through the database's entire _changes feed, since it includes deletions. That's expensive, though.
                
> Add API to find the deleted branches of a doc's rev tree
> --------------------------------------------------------
>
>                 Key: COUCHDB-1529
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1529
>             Project: CouchDB
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Jens Alfke
>            Priority: Minor
>
> There's no efficient way to discover the complete revision tree of a document. API options like ?open_revs=all or ?conflicts will only return active/undeleted revisions; it won't discover deleted branches resulting from already-resolved conflicts.
> There should be an extra option, like "?include_deleted=true", to use along with open_revs to tell it to return even deleted leaf revisions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira