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

ASF subversion and git services commented on COUCHDB-3193:
----------------------------------------------------------

Commit 8ea01dd6bd7e0f47ec72ec63bd79d20068f467e8 in couchdb-couch's branch 
refs/heads/master from ILYA Khlopotov
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=8ea01dd ]

Truncate revs returned from couch_db:open_doc_revs

Return max revs_limit revisions from couch_db:open_doc_revs.

COUCHDB-3193


> fabric:open_revs returns multiple results when one of the shards has 
> stem_interactive_updates=false
> ---------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-3193
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3193
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: ILYA
>
> In the case when one of the shards has *stem_interactive_updates=false* the 
> number of revisions in *Doc#doc.rev* could exceed *revs_limit*. In this case 
> we treat responses from different shards as different. This is due to the 
> fact that we include all revs into a key here 
> https://github.com/apache/couchdb-fabric/blob/master/src/fabric_util.erl#L222.
>  
> The fix is to truncate number of revisions returned from 
> *couch_db:open_doc_revs* to *revs_limit*. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to