• unknown's avatar
    MDEV-232: Remove one fsync() from commit phase. · 288eeb3a
    unknown authored
    Introduce a new storage engine API method commit_checkpoint_request().
    This is used to replace the fsync() at the end of every storage engine
    commit with a single fsync() when a binlog is rotated.
    
    Binlog rotation is now done during group commit instead of being
    delayed until unlog(), removing some server stall and avoiding an
    expensive lock/unlock of LOCK_log inside unlog().
    288eeb3a
log.cc 247 KB