• istruewing@chilla.local's avatar
    Bug#17332 - changing key_buffer_size on a running server · 48a596ed
    istruewing@chilla.local authored
                can crash under load
    
    Resizing a key cache while it was in heavy use could crash the
    server. There were several race conditions.
    
    I reworked some of the algorithms to fix the race conditions.
    
    No test case. Repeating the crashes requires heavy concurrent
    load on the key cache. A test script is attached to the bug report.
    
    More explanations to the changes are contained in a text file
    attached to the bug report.
    48a596ed
keycache.h 6.8 KB