• Ashish Agarwal's avatar
    BUG#11748748 - 37280: CHECK AND REPAIR TABLE REPORT TABLE · 8862a5b5
    Ashish Agarwal authored
                          CORRUPTED WHEN RUN CONCURRENTLY WITH
    
    ISSUE: Table corruption due to concurrent queries.
           Different threads running check, repair query
           along with insert. Locks not properly acquired
           in repair query. Rows are inserted inbetween
           repair query.
    
    SOLUTION: Mutex lock is acquired before the
              repair call. Concurrent queries wont
              effect the call to repair.
    8862a5b5
ha_archive.cc 46.5 KB