Browse Source
MDEV-4605: Failing to load GTID slave position from rpl.gtid_slave_pos
MDEV-4605: Failing to load GTID slave position from rpl.gtid_slave_pos
There were several cases where the slave GTID position was not loaded correctly before being used. This caused various failures such as corrupting the position at slave start and empty values of @@gtid_slave_pos and @@gtid_current_pos. Fixed by adding more checks for loaded position, and by always loading the position at server startup.pull/3/head
8 changed files with 150 additions and 5 deletions
-
10mysql-test/suite/rpl/r/rpl_gtid_stop_start.result
-
25mysql-test/suite/rpl/t/rpl_gtid_stop_start.test
-
6sql/mysqld.cc
-
2sql/mysqld.h
-
16sql/rpl_rli.cc
-
2sql/share/errmsg-utf8.txt
-
73sql/slave.cc
-
21sql/sys_vars.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue