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/09/06 20:14:20 UTC

[jira] [Commented] (COUCHDB-3135) Do not use config subscription in couch_index

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

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

GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch-index/pull/19

    Do not use config subscription in couch_index

    The simple fact that we call config:subscribe_for_changes causes the hike in memory consumed by couch_index process. Monitoring the changes for "query_server_config.commit_freq" is not worth it. We would just call config:get_index when we need to. 
    
    COUCHDB-3135

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

    $ git pull https://github.com/cloudant/couchdb-couch-index 3135-remove_config_subscribe_from_couch_index

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

    https://github.com/apache/couchdb-couch-index/pull/19.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 #19
    
----
commit 91a56c96cc468303b4f45dab9801285151c04b36
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Date:   2016-09-06T20:07:28Z

    Do not use config subscription in couch_index
    
    COUCHDB-3135

----


> Do not use config subscription in couch_index
> ---------------------------------------------
>
>                 Key: COUCHDB-3135
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3135
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: ILYA
>
> In spite numerous attempts to improve memory consumption of config listener. The simple fact that we call config:subscribe_for_changes causes the hike in memory consumed by couch_index process. Monitoring the changes for "query_server_config.commit_freq" is not worth it. We would just call config:get_index when we need to. 



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