• Ashish Agarwal's avatar
    BUG#11751793 - 42784: ARCHIVE TABLES CAUSE 100% CPU USAGE · a00f87bf
    Ashish Agarwal authored
                          AND HANG IN SHOW TABLE STATUS.
    
    ISSUE: Table corruption due to concurrent queries.
           Different threads running insert and check
           query leads to table corruption. Not properly locked,
           rows are inserted in between check query.
    
    SOLUTION: In check query mutex lock is acquired
              for a longer time to handle concurrent
              insert and check query.
    
    NOTE: Additionally we backported the fix for CHECKSUM
          issue(bug#11758979).
    a00f87bf
ha_archive.cc 46.3 KB