• Marko Mäkelä's avatar
    MDEV-24188 fixup: Correct the FindBlockX predicate · ce0cb6a4
    Marko Mäkelä authored
    FindBlockX::operator(): Return false if an x-latched block is found.
    Previously, we were incorrectly returning false if the block was in
    the log, only if not x-latched.
    
    It is unknown if this mistake had any visible impact. Often,
    we would register both MTR_MEMO_BUF_FIX and MTR_MEMO_PAGE_X_FIX
    for the same block.
    ce0cb6a4
mtr0mtr.cc 24.3 KB