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

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

Github user asfgit closed the pull request at:

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


> 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)

Reply via email to