cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

0bb881a Ticket 48217 - cleanAllRUV hangs shutdown if not all of the

Authored and Committed by mreynolds 8 years ago
    Ticket 48217 - cleanAllRUV hangs shutdown if not all of the
     replicas are online
    
    Bug Description:  There are race conditions where we might not notify the
                      clean task when a shutdown is occuring.  This casues the
                      task refcount to be not decremented, which hangs the
                      destructor function.
    
    Fix Description:  Check that the server is not shutting down before going
                      to sleep, and notify the clean/abort tasks to stop in
                      the destructor functions(instead of in the mmr plugin stop
                      function).
    
    https://fedorahosted.org/389/ticket/48217
    
    Reviewed by: lkrispen(Thanks!)
    
    (cherry picked from commit d6269f2e6898a187d43e3368860b13cdbd39ec55)