[
https://issues.apache.org/jira/browse/COUCHDB-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402536#comment-15402536
]
ASF GitHub Bot commented on COUCHDB-3088:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/couchdb-couch-replicator/pull/44
> restart of couch_replication_server causes a stampede
> -----------------------------------------------------
>
> Key: COUCHDB-3088
> URL: https://issues.apache.org/jira/browse/COUCHDB-3088
> Project: CouchDB
> Issue Type: Bug
> Reporter: ILYA
>
> couch_replication_server scans all files in database_dir searching for files
> matching "_replicator.<number>.couch". For every _replication db it does
> gen_server:cast(Server, {resume_scan, DbName}). This creates a stampede
> effect and causes sharp load spikes on the replication cluster. The problem
> get worse if you migrate from older version of couchdb. In this case there is
> a logic which injects validation ddoc into every _replication db. Causing a
> spike in [couchdb, database_writes] metric.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)