• Marko Mäkelä's avatar
    MDEV-28185 InnoDB generates redundant log checkpoints · 7d7bdd4a
    Marko Mäkelä authored
    The comparison on the checkpoint age (number of log bytes
    written since the previous checkpoint) is inaccurate, because
    the previous FILE_CHECKPOINT record could span two 512-byte
    log blocks, which will cause the LSN to increase by the size of the
    log block header and footer.
    
    We will still generate a redudant checkpoint if the previous
    checkpoint wrote some FILE_MODIFY records before the FILE_CHECKPOINT
    record.
    7d7bdd4a
buf0flu.cc 80.7 KB