[
https://issues.apache.org/jira/browse/COUCHDB-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220487#comment-15220487
]
ASF subversion and git services commented on COUCHDB-2979:
----------------------------------------------------------
Commit 9ee3e19b997258a7d57b993afec34bcbbf4772c5 in couchdb-couch-replicator's
branch refs/heads/master from [~kzx]
[
https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-replicator.git;h=9ee3e19
]
Reduce checkpoint frequency from 5 to 30 seconds
Use a macro to avoid hard-coding magic number
in two places.
COUCHDB-2979
> Replicator manager attempts to checkpoint too frequently
> --------------------------------------------------------
>
> Key: COUCHDB-2979
> URL: https://issues.apache.org/jira/browse/COUCHDB-2979
> Project: CouchDB
> Issue Type: Bug
> Reporter: Nick Vatamaniuc
>
> Current checkpoint interval is set to 5 seconds. That works well for a few
> replications but when there are thousands of them it ends up being an attempt
> every few milliseconds or so.
> Moreover to decide on ownership (in order to keep on replication running per
> cluster) each replication during an attempted checkpoint uses a gen_server
> call to replicator manager. Those usually are fast (I bench-marked at a
> 100-200 usec) however if replicator manager is busy (say stuck fetching large
> filter documents when computing replication ids), none of the replication
> would be able to checkpoint and make progress.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)