gerases / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

badd354 Ticket 47779 - Potential deadlock after startup if a dna configuration change is made

Authored and Committed by mreynolds 10 years ago
    Ticket 47779 - Potential deadlock after startup if a dna configuration change is made
    
    Bug Description:  DNA delays the shared server configuration creation
                      until 30 seconds after startup to allow other plugins
                      to start (replication and retro cl).  This delayed config
                      event starts a transaction while holding the read lock
                      which can lead to a deadlock.
    
    Fix Description:  Make a one time copy of the shared server config for
                      the config update event so we don't need to hold any
                      locks while starting the backend transaction.
    
    https://fedorahosted.org/389/ticket/47779
    
    valgrind: passed
    jenkins: passed
    
    Reviewed by: rmeggins(Thanks!)
    
        
file modified
+91 -22