ILYA created COUCHDB-3088:
-----------------------------
Summary: 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)