You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/08 19:47:11 UTC

[jira] [Commented] (COUCHDB-3053) View info returns fluctuating data_size

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

ASF GitHub Bot commented on COUCHDB-3053:
-----------------------------------------

GitHub user eiri opened a pull request:

    https://github.com/apache/couchdb-fabric/pull/61

    Ignore already received replies for same shards

    It is possible to get a reply for same shard from different node sent before its collector get stopped in `remove_overlapping_shards`.
    
    This running condition leads to a possibility of same info to be aggregated multiple times.
    
    COUCHDB-3053

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-fabric 69654-fix-view-info-duplicates

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fabric/pull/61.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #61
    
----
commit 4c04e39458b4cb9f9f8ccab8dbf7deaf1414b166
Author: Eric Avdey <ei...@eiri.ca>
Date:   2016-07-08T18:54:47Z

    Ignore already received replies for same shards
    
    It is possible to get a reply for same shard
    from different node sent before its collector
    get stopped in remove_overlapping_shards.
    
    This running condition leads to a possibility
    of same info to be aggregated multiple times.

----


> View info returns fluctuating data_size
> ---------------------------------------
>
>                 Key: COUCHDB-3053
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3053
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Eric Avdey
>            Assignee: Eric Avdey
>
> It seems that there are a running condition in fabric's view info collector
> {code}
> $ for x in {1..10}; do curl -s -u $CRED http://localhost:5984/koi/_design/app/_info | jq .view_index.data_size ; sleep 1 ; done
> 302110
> 378811
> 453232
> 376511
> 302110
> 414737
> 339619
> 341025
> 566317
> 416332
> {code}



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