incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Alfke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1529) Add API to find the deleted branches of a doc's rev tree
Date Wed, 05 Sep 2012 00:31:07 GMT

    [ 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

Mime
View raw message