diff options
author | unknown <knielsen@knielsen-hq.org> | 2013-07-10 11:45:15 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2013-07-10 11:45:15 +0200 |
commit | 1e43277838581dfa5be2e755e524991cd7e2cebf (patch) | |
tree | b7a2f53f0723b7d6926fe5ce83fac9206a6b14e8 /mysql-test/README.gcov | |
parent | 639baee61bdfefe124414db6b12d40061a086e5b (diff) | |
download | mariadb-git-1e43277838581dfa5be2e755e524991cd7e2cebf.tar.gz |
MDEV-4708: GTID strict mode doesn't work on a database with purged binlogs
When a new master is provisioned that does not have any old binlogs,
the @@gtid_slave_pos is used to know where in the GTID history the
provisioning happened. A slave is allowed to connect at the point of
this value of @@gtid_slave_pos, even if that GTID is not in the
binlogs on the new master.
But --gtid-strict-mode did not correctly handle this case. When strict
mode was enabled, an attempt to connect at the position would cause an
error about holes in the binlog, which is not correct.
This patch adds a hash of GTIDs that need to be treated specially by
GTID strict mode to deal correctly with this case.
Diffstat (limited to 'mysql-test/README.gcov')
0 files changed, 0 insertions, 0 deletions