• Marko Mäkelä's avatar
    MDEV-26055: Correct the formula for adaptive flushing · d4265fbd
    Marko Mäkelä authored
    page_cleaner_flush_pages_recommendation(): If dirty_pct is
    between innodb_max_dirty_pages_pct_lwm
    and innodb_max_dirty_pages_pct,
    scale the effort relative to how close we are to
    innodb_max_dirty_pages_pct.
    
    The previous formula was missing a multiplication by 100.
    
    Tested by: Axel Schwenke
    d4265fbd
buf0flu.cc 78.2 KB