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

Authored and Committed by mreynolds 9 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!)
    
    (cherry picked from commit badd35439b8ec5e7ccac070e5c8ef66565f75866)
    
        
file modified
+92 -24