Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ldap_replication_retry a zmlocalconfig tunable #97

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ghen2
Copy link
Contributor

@ghen2 ghen2 commented Nov 24, 2021

to make the LDAP replication retry behaviour configurable, instead of the currently hardcoded value 60 + (which should be made the default value for backwards compatibility).

From man 5 slapd.conf:

If an error occurs during replication, the consumer will attempt to reconnect according to the retry parameter which is a list of the and <# of retries> pairs. For example, retry="60 10 300 3" lets the consumer retry every 60 seconds for the first 10 times and then retry every 300 seconds for the next 3 times before stop retrying. The '+' in <# of retries> means indefinite number of retries until success. If no retry was specified, by default syncrepl retries every hour forever.

to make the LDAP replication retry behaviour configurable, instead of the currently hardcoded value `60 +` (which should be made the default value for backwards compatibility).

From `man 5 slapd.conf`:

> If an error occurs during replication, the consumer will attempt to reconnect according to the retry parameter which is  a  list of the <retry interval> and <# of retries> pairs.  For example, retry="60 10 300 3" lets the consumer retry every 60 seconds for the first 10 times and then retry every 300 seconds for the next 3 times before stop retrying. The '+' in <# of  retries>  means indefinite number of retries until success.  If no retry was specified, by default syncrepl retries every hour forever.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant