Browse Source
MDEV-4483: CHANGE MASTER TO master_use_gtid=xxx looses old-style coordinates.
MDEV-4483: CHANGE MASTER TO master_use_gtid=xxx looses old-style coordinates.
There was some old code that cleared the position in CHANGE MASTER, it was forgotten to be removed. In addition, add code that saves/restores the old-style position when we nuke the old relay logs as part of GTID slave start. Normally we will not use these, but it could be useful in case the GTID connect fails and user wants to go back to the old-style coordinates.pull/3/head
8 changed files with 129 additions and 14 deletions
-
2mysql-test/include/wait_for_slave_param.inc
-
4mysql-test/suite/rpl/r/rpl_gtid_reconnect.result
-
36mysql-test/suite/rpl/r/rpl_gtid_startpos.result
-
4mysql-test/suite/rpl/t/rpl_gtid_reconnect.test
-
69mysql-test/suite/rpl/t/rpl_gtid_startpos.test
-
2scripts/mysql_system_tables.sql
-
16sql/slave.cc
-
10sql/sql_repl.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue