[ 
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=[<revlist>]&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

        

Reply via email to