• inaam's avatar
    branches/5.1: Fix Bug #38901 · 26740944
    inaam authored
    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
    26740944
buf0rea.c 20.4 KB