From c7aa0bca3fa23479f97a2faf32a68e5f12637b6b Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Wed, 27 Oct 2004 19:43:45 +0000 Subject: [PATCH] syncrepl retry feature --- doc/man/man5/slapd.conf.5 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/man/man5/slapd.conf.5 b/doc/man/man5/slapd.conf.5 index 7de5fafe7e..e4aa7d485e 100644 --- a/doc/man/man5/slapd.conf.5 +++ b/doc/man/man5/slapd.conf.5 @@ -1384,6 +1384,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] @@ -1454,10 +1455,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 -- 2.39.5