[SSSD] [PATCH] Fix startup race condition causing backend restarts

Stephen Gallagher sgallagh at redhat.com
Fri Aug 7 17:59:49 UTC 2009


When the backends start up, the monitor was immediately sending a
getIdentity request. However, as we've added more processing to
the initialization routines over time, we started introducing
latency between when we open the connection and when we're able to
process requests on that connection.

I've updated the monitor to check for NoReply as an error message
and queue the getIdentity check for retries until the service
answers or one wallclock second (literally, ten tries at 10ms
each) has passed.
-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-startup-race-condition-causing-backend-restarts.patch
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090807/beb74851/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20090807/beb74851/attachment.sig>


More information about the sssd-devel mailing list