You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/09/27 15:35:34 UTC

[couchdb-documentation] 01/01: Updated documentation for new replicator retries_per_request value

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch issue-810
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 86849c4f774ae9fc31238a70a59b41eb11b41709
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Wed Sep 27 10:00:52 2017 -0400

    Updated documentation for new replicator retries_per_request value
    
    The new value is 5 but used to be 10, which makes more sense with the new
    scheduling replicator behavior.
    
    Issue #810
---
 src/config/replicator.rst | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/config/replicator.rst b/src/config/replicator.rst
index d1c7436..d25baac 100644
--- a/src/config/replicator.rst
+++ b/src/config/replicator.rst
@@ -103,10 +103,18 @@ Replicator Database Configuration
 
     .. config:option:: retries_per_request
 
-        If a request fails, the replicator will retry it up to N times::
+        .. versionchanged:: 2.1.1
+
+        If a request fails, the replicator will retry it up to N times. The
+        default value for N is 5 (before version 2.1.1 it was 10). The requests
+        are retried with an doubling exponenital backoff starting at 0.25
+        seconds. So by default requests would be retried in 0.25, 0.5, 1, 2, 4
+        second intervals. When number of retires is exhausted, the whole
+        replication job is stopped and will retry again later::
 
             [replicator]
-            retries_per_request = 10
+            retries_per_request = 5
+
 
     .. config:option:: socket_options
 

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <co...@couchdb.apache.org>.