mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-232: Remove one fsync() from commit phase.
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().
This commit is contained in:
@@ -61,7 +61,7 @@ connection slave;
|
||||
SELECT * FROM t1;
|
||||
let $binlog_file= query_get_value(SHOW SLAVE STATUS, Relay_Log_File, 1);
|
||||
let $binlog_start= 0;
|
||||
let $binlog_limit=4,5;
|
||||
let $binlog_limit=5,5;
|
||||
--source include/show_relaylog_events.inc
|
||||
|
||||
--echo # Test that slave which cannot tolerate holes in binlog stream but
|
||||
|
Reference in New Issue
Block a user