You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Nick Vatamaniuc (JIRA)" <ji...@apache.org> on 2016/08/03 02:40:20 UTC

[jira] [Closed] (COUCHDB-2979) Replicator manager attempts to checkpoint too frequently

     [ https://issues.apache.org/jira/browse/COUCHDB-2979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Vatamaniuc closed 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)