• Sergey Vojtovich's avatar
    Applying InnoDB snapshot, fixes BUG#38901 · 70564eb6
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6613 | inaam | 2010-02-09 20:23:09 +0200 (Tue, 09 Feb 2010) | 11 lines
    branches/5.1: Fix Bug #38901
    InnoDB logs error repeatedly when trying to load page into buffer pool
    
    In buf_page_get_gen() if we are unable to read a page (because of
    corruption or some other reason) we keep on retrying. This fills up
    error log with millions of entries in no time and we'd eventually run
    out of disk space. This patch limits the number of attempts that we
    make (currently set to 100) and after that we abort with a message.
    
    rb://241 Approved by: Heikki
    70564eb6
buf0rea.c 20.4 KB