mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
MDEV-10553: Semi-sync replication hangs when master opens new binlog file
In the AFTER_SYNC case, semi-sync was taking the binlog file name from the wrong place, so around binlog rotation it could be using the new name with a position belonging to the previous binlog file name. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
parent
a8c2f68fb8
commit
48fbb2bf07
1 changed files with 1 additions and 1 deletions
|
@ -7712,7 +7712,7 @@ MYSQL_BIN_LOG::trx_group_commit_leader(group_commit_entry *leader)
|
|||
last= current->next == NULL;
|
||||
if (!current->error &&
|
||||
RUN_HOOK(binlog_storage, after_sync,
|
||||
(current->thd, log_file_name,
|
||||
(current->thd, current->cache_mngr->last_commit_pos_file,
|
||||
current->cache_mngr->last_commit_pos_offset,
|
||||
first, last)))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue