1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-7257: Dump Thread Enhancements

Make the binlog dump threads not need to take LOCK_log while sending
binlog events to slave. Instead, a new LOCK_binlog_end_pos is used
just to coordinate tracking the current end-of-log.

This is a pre-requisite for MDEV-162, "Enhanced semisync
replication". It should also help reduce the contention on LOCK_log on
a busy master.

Also does some much-needed refactoring/cleanup of the related code in
the binlog dump thread.
This commit is contained in:
Jonas Oreland
2014-12-19 12:36:23 +01:00
committed by Kristian Nielsen
parent ea01fff505
commit 4d8b346e07
5 changed files with 1055 additions and 749 deletions

File diff suppressed because it is too large Load Diff