When binlog is on, innodb redo log will write at innodb prepare stage,
and binlog will write at binlog commit stage.
Actually, write innodb redo log could move to binlog commit stage only
if it write before binlog. Then, redo log and binlog can use original
binary group commit logic to improve performance.
Engine transaction recovery through persistent binlog
Different Galera performance behavior regarding to flushing between MySQL and MariaDB