From: Jong Hyuk Choi Date: Wed, 27 Oct 2004 18:30:40 +0000 (+0000) Subject: syncrepl retry parameter X-Git-Tag: OPENLDAP_REL_ENG_2_2_19~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d2340671d1cd1418719537d821d6d47cc1e8908b;p=openldap syncrepl retry parameter --- diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 16decea045..356227f6ff 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1307,6 +1307,7 @@ one subordinate to another subordinate within the namingContext. .B provider=ldap[s]://[:port] .B [type=refreshOnly|refreshAndPersist] .B [interval=dd:hh:mm:ss] +.B [retry=[ <# of retries>]+] .B [searchbase=] .B [filter=] .B [scope=sub|one|base] @@ -1377,10 +1378,15 @@ operation, a synchronization search remains persistent in the provider slapd. Further updates to the master replica will generate .B searchResultEntry to the consumer slapd as the search responses to the persistent -synchronization search. If the connection is lost, the consumer will -attempt to reconnect at an interval time (specified by -.B interval -parameter; 60 seconds by default) until the session is re-established. +synchronization search. +If an error occurs during replication, the consumer will attempt to +reconnect according to the +.B retry +parameter which is a list of the and <# of retries> pairs. +For example, retry="60 5 300 3" lets the consumer retry every 60 seconds +for the first 10 times and then retry every 300 seconds for the next three +times before stop retrying. + in <# of retries> means indefinite +number of retries until success. The schema checking can be enforced at the LDAP Sync consumer site by turning on the .B schemachecking