[Freeipa-devel] Please review: wait for winsync agreement to become ready before starting

Simo Sorce ssorce at redhat.com
Thu Nov 13 13:23:02 UTC 2008


On Wed, 2008-11-12 at 15:13 -0700, Rich Megginson wrote:
> There is a race condition in the directory server.  When creating a
> new 
> sync agreement, it takes some time before it is ready to be started.  
> This is because adding the agreement also makes it perform an 
> incremental update.  If the script attempts to do an initialization 
> before it is ready, the script will appear to hang for 20 minutes.
> This 
> fix allows the script to check the status of the incremental update,
> and 
> only start if the incremental update is complete.

Patch is ok, but I'd like to see a maximum number of retries being
implemented so that the wait routing cannot possibly wait forever in
case something is wrong in DS.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list