• thek@adventure.(none)'s avatar
    Bug #21074 Large query_cache freezes mysql server sporadically under heavy load · f5ecb35e
    thek@adventure.(none) authored
    Invaldating a subset of a sufficiently large query cache can take a long time.
    During this time the server is efficiently frozen and no other operation can
    be executed. This patch addresses this problem by setting a time limit on
    how long time a dictionary access request can take before giving up on the 
    attempt. This patch does not work for query cache invalidations issued by
    DROP, ALTER or RENAME TABLE operations.
    f5ecb35e
sql_cache.cc 130 KB