Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45DA29B74 for ; Wed, 5 Sep 2012 00:31:08 +0000 (UTC) Received: (qmail 8670 invoked by uid 500); 5 Sep 2012 00:31:07 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 8579 invoked by uid 500); 5 Sep 2012 00:31:07 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 8567 invoked by uid 99); 5 Sep 2012 00:31:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Sep 2012 00:31:07 +0000 Date: Wed, 5 Sep 2012 11:31:07 +1100 (NCT) From: "Jens Alfke (JIRA)" To: dev@couchdb.apache.org Message-ID: <701532786.36044.1346805067585.JavaMail.jiratomcat@arcas> In-Reply-To: <1488808466.36040.1346804947786.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (COUCHDB-1529) Add API to find the deleted branches of a doc's rev tree MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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