• Michael Widenius's avatar
    Fixed recovery problem in Aria where bitmap had wrong information after recovery. · 1e0b42d9
    Michael Widenius authored
    LP#619731: Aria recovery corruption "Page 1: Row: 1 has an extent with wrong information in bitmap
    
    storage/maria/ma_bitmap.c:
      Don't send broadcast if no one is waiting for it
    storage/maria/ma_blockrec.c:
      Don't update bitmap if the page is not in the dirty_page list (or LSN is after checkpoint start)
      Fixes the case where we have in the log redo_free_block followed by another redo entry for the same page which is ignored.
      Also fixed that _ma_apply_redo_insert_row_blobs() doesn't update the bitmap in similar circumstances.
    storage/maria/ma_blockrec.h:
      Updated prototype
    storage/maria/ma_check.c:
      Added printing of bitmap information if used with maria_chk -vvv (for debugging)
    storage/maria/ma_recovery.c:
      Updated call parameters to _ma_apply_redo_free_blocks().
    1e0b42d9
ma_blockrec.h 13.6 KB