• Aditya A's avatar
    Bug#13417564 SKIP SLEEP IN SRV_MASTER_THREAD WHEN · f7940e40
    Aditya A authored
                 SHUTDOWN IS IN PROGRESS 
    
    PROBLEM
    -------
     In the background thread srv_master_thread() we have a 
     a one second delay loop which will continuously monitor
     server activity .If the server is inactive (with out any
     user activity) or in a shutdown state we do some background
     activity like flushing the changes.In the current code
     we are not checking if server is in shutdown state before
     sleeping for one second.
    
    FIX
    ---
    If server is in shutdown state ,then dont go to one second
    sleep. 
    f7940e40
srv0srv.c 84 KB