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 1C4627BED for ; Thu, 25 Aug 2011 20:53:05 +0000 (UTC) Received: (qmail 746 invoked by uid 500); 25 Aug 2011 20:53:04 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 449 invoked by uid 500); 25 Aug 2011 20:53:03 -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 441 invoked by uid 99); 25 Aug 2011 20:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 20:53:03 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2011 20:53:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D0BFACFF6D for ; Thu, 25 Aug 2011 20:52:39 +0000 (UTC) Date: Thu, 25 Aug 2011 20:52:39 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Message-ID: <956798236.15084.1314305559851.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <26934759.168671290054373252.JavaMail.jira@thor> Subject: [jira] [Commented] (COUCHDB-953) latest=true is ignored in open_revs calls MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091319#comment-13091319 ] Adam Kocoloski commented on COUCHDB-953: ---------------------------------------- Ok, so this was weirder than I expected. We had the format of LeafsFound all mixed up, so we were guaranteed never to match anything in the -- call. I posted a patch and a JS test on GitHub: https://github.com/kocolosk/couchdb/compare/trunk...954-key-tree-latest-true Didn't get around to writing proper commit messages yet :). I'll take a closer look at Jan's etap and see if we can add that too. But in the meantime would appreciate a review here. > latest=true is ignored in open_revs calls > ----------------------------------------- > > Key: COUCHDB-953 > URL: https://issues.apache.org/jira/browse/COUCHDB-953 > Project: CouchDB > Issue Type: Bug > Components: HTTP Interface > Reporter: Adam Kocoloski > Priority: Minor > Fix For: 1.2 > > Attachments: 0001-parse-latest-option-for-open_revs-COUCHDB-953.patch > > > The replicator requests documents from a remote source with open_revs=[]&latest=true, but latest=true is ignored. The option is supposed to tell the source to send the leafs of an edit branch containing a requested revision, i.e. if the document has been updated since the revlist was calculated, the source is free to send the new one. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira