diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-03-18 15:09:36 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-03-18 15:09:36 +0100 |
commit | 9d9ddad759a432967934baac596ef20d613214b3 (patch) | |
tree | c0068bca3c56d1806265e50b7fed442dbf70e84a /sql/share | |
parent | 379819d8c06ee086e9a3f5cf7e6c225fdb626596 (diff) | |
download | mariadb-git-9d9ddad759a432967934baac596ef20d613214b3.tar.gz |
MDEV-26: Global transaction ID.
Fix things so that a master can switch with MASTER_GTID_POS=AUTO to a slave
that was previously running with log_slave_updates=0, by looking into the
slave replication state on the master when the slave requests something not
present in the binlog.
Be a bit more strict about what position the slave can ask for, to avoid some
easy-to-hit misconfiguration errors.
Start over with seq_no counter when RESET MASTER.
Diffstat (limited to 'sql/share')
-rw-r--r-- | sql/share/errmsg-utf8.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt index 8c34fe90f30..aa19d2c9c05 100644 --- a/sql/share/errmsg-utf8.txt +++ b/sql/share/errmsg-utf8.txt @@ -6611,3 +6611,9 @@ ER_DUPLICATE_GTID_DOMAIN ER_GTID_OPEN_TABLE_FAILED eng "Failed to open %s.%s" ger "Öffnen von %s.%s fehlgeschlagen" +ER_GTID_POSITION_NOT_FOUND_IN_BINLOG + eng "Connecting slave requested to start from GTID %u-%u-%llu, which is not in the master's binlog" +ER_CANNOT_LOAD_SLAVE_GTID_STATE + eng "Failed to load replication slave GTID state from table %s.%s" +ER_MASTER_GTID_POS_CONFLICTS_WITH_BINLOG + eng "Requested MASTER_GTID_POS %u-%u-%llu conflicts with the binary log which contains a more recent GTID %u-%u-%llu. To use the requested MASTER_GTID_POS, the old binlog must be removed with RESET MASTER to avoid out-of-order binlog" |