You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by nickva <gi...@git.apache.org> on 2017/02/28 19:12:36 UTC

[GitHub] couchdb-couch-replicator pull request #57: Restore adding some jitter-ed sle...

GitHub user nickva opened a pull request:

    https://github.com/apache/couchdb-couch-replicator/pull/57

    Restore adding some jitter-ed sleep to shard scanning code.

    Otherwise a large cluster will flood replicator manager with potentially
    hundreds of thousands of `{resume, Shard}` messages. For each one, it
    would try to open a changes feed which can add significant load and has
    been seen in production to hit varios system limits.
    
    This brings back the change from before the switch to using mem3 shards
    for replicator db scans.
    
    Also adds a few tests.
    
    COUCHDB-3311

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

    $ git pull https://github.com/cloudant/couchdb-couch-replicator couchdb-3311

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

    https://github.com/apache/couchdb-couch-replicator/pull/57.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 #57
    
----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch-replicator issue #57: Restore adding some jitter-ed sleep to s...

Posted by iilyak <gi...@git.apache.org>.
Github user iilyak commented on the issue:

    https://github.com/apache/couchdb-couch-replicator/pull/57
  
    +1 
    ```
        Running test function(s):
          couch_replicator_manager:scan_dbs_test_/0
    ======================== EUnit ========================
    couch_replicator_manager:1051: t_resume_db_shard...[0.317 s] ok
    couch_replicator_manager:1064: t_sleep_based_on_count...[0.206 s] ok
    =======================================================
      All 2 tests passed.
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch-replicator pull request #57: Restore adding some jitter-ed sle...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-couch-replicator/pull/57


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---