6cfc1c0 Ticket #440 - periodic dirsync timed event causes server to loop repeatedly

Authored and Committed by rmeggins 11 years ago
    Ticket #440 - periodic dirsync timed event causes server to loop repeatedly
    
    https://fedorahosted.org/389/ticket/440
    Resolves: Ticket #440
    Bug Description: periodic dirsync timed event causes server to loop repeatedly
    Reviewed by: nhosoi (Thanks!)
    Branch: master
    Fix Description: If we get the EVENT_RUN_DIRSYNC in state
    STATE_WAIT_WINDOW_OPEN, just go to sleep, and wait for some event that is able
    to bump from this state, such as schedule window open or agreement change.
    Platforms tested: RHEL6 x86_64
    Flag Day: no
    Doc impact: no
    (cherry picked from commit d6ca372b30ae0c4e9fcd65c22ac3a7ce870e3f67)