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

Rich Megginson rmeggins at redhat.com
Thu Nov 13 15:33:54 UTC 2008


Simo Sorce wrote:
> 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.
>   
Ok.  New patch attached.
> Simo.
>
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wait-for-sync-agreement-to-be-ready-before-starting.patch
Type: text/x-patch
Size: 3734 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20081113/7268aae3/attachment.bin>


More information about the Freeipa-devel mailing list