• Kristian Nielsen's avatar
    MDEV-11937: InnoDB flushes redo log too often · 36e81a23
    Kristian Nielsen authored
    Problem was introduced with the InnoDB 5.7 merge, the code related to
    avoiding extra fsync at the end of commit when binlog is enabled. The
    MariaDB method for this was removed, but the replacement MySQL method
    based on thd_get_durability_property() is not functional in MariaDB.
    
    This commit reverts the offending parts of the merge and adds a test
    case, to fix the problem for InnoDB. But other storage engines are
    likely to have a similar problem.
    36e81a23
binlog_innodb.test 4.91 KB