mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
MDEV-4488: When master is on the list of ignore_server_ids, GTID position on slave is not updated
The ignored events are not written to the relay log, but instead a fake Rotate event is generated to handle update of position. Extend this for Gtid so we similarly generate a fake Gtid_list event to update the GTID position. Also fix an unrelated test issue that got triggered by the added test cases.
This commit is contained in:
parent
33c66eb7fb
commit
f74c745a99
10 changed files with 433 additions and 47 deletions
|
|
@ -303,6 +303,8 @@ public:
|
|||
*/
|
||||
char ign_master_log_name_end[FN_REFLEN];
|
||||
ulonglong ign_master_log_pos_end;
|
||||
/* Similar for ignored GTID events. */
|
||||
slave_connection_state ign_gtids;
|
||||
|
||||
/*
|
||||
Indentifies where the SQL Thread should create temporary files for the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue