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/01/21 23:59:39 UTC

[jira] [Commented] (COUCHDB-2938) Filtered changes should use ddoc_cache

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

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

GitHub user chewbranca opened a pull request:

    https://github.com/apache/couchdb-couch/pull/134

    Use ddoc_cache and new fetch rpc format

    This fixes COUCHDB-2938.

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

    $ git pull https://github.com/apache/couchdb-couch 2938-use-ddoc-cache-in-filtered-changes

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

    https://github.com/apache/couchdb-couch/pull/134.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 #134
    
----
commit 68f7bab5028ce9abaf61a0386d2820609385ca4d
Author: Russell Branca <ch...@apache.org>
Date:   2016-01-21T22:57:18Z

    Use ddoc_cache and new fetch rpc format

----


> Filtered changes should use ddoc_cache
> --------------------------------------
>
>                 Key: COUCHDB-2938
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2938
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Russell Branca
>
> One of the primary functions of the ddoc_cache is to avoid having to ship the entire ddoc across the wire for every shard. You can see where we do this for views in [1]. We currently do not use the same pattern for filtered changes feeds, which means we're still susceptible to overloading a network with ddoc traffic as the ddoc needs to be sent to every shard that will filter docs. We should switch filtered changes feeds to use the same patterns as map and reduce views.
> [1] https://github.com/apache/couchdb-fabric/blob/master/src/fabric_rpc.erl#L91-L92



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