Nick Vatamaniuc created COUCHDB-2979:
----------------------------------------

             Summary: 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