From e148ba6dbb26a0eac162ac9a2ff550da2c883808 Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Mon, 17 Dec 2012 12:04:54 +0100 Subject: try primary server after retry_timeout + 1 seconds when switching to backup https://fedorahosted.org/sssd/ticket/1679 The problem is when we are about to reset the server status, we don't get through the timeout (30 seconds) because the "switch to primary server" task is scheduled 30 seconds after fall back to a backup server. Thus the server status remains "not working" and is resetted after another 30 seconds. We need to make sure that the server status is tried after the timeout period. retry_timeout is currently hardcoded to 30, thus the change in man page. --- src/man/include/failover.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/man') diff --git a/src/man/include/failover.xml b/src/man/include/failover.xml index dbf9d546..4865ce2b 100644 --- a/src/man/include/failover.xml +++ b/src/man/include/failover.xml @@ -17,7 +17,7 @@ primary and backup. The idea is that servers in the primary list are preferred and backup servers are only searched if no primary servers can be - reached. If a backup server is selected, a timeout of 30 seconds + reached. If a backup server is selected, a timeout of 31 seconds is set. After this timeout SSSD will periodically try to reconnect to one of the primary servers. If it succeeds, it will replace the current active (backup) server. -- cgit