PT-2241 - fix(pt-online-schema-change): using --skip-check-slave-lag multiple times does not work as expected (#622)

* fix(pt-online-schema-change): Fix the issue where using --skip-check-slave-lag multiple times does not work as expected.

* PT-2241: add test cases for pt-online-schema-change

* Update t/pt-online-schema-change/pt-2241.t

fix():reset the delay on replicas

Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>

---------

Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>
This commit is contained in:
PinoCao
2023-07-31 21:59:09 +08:00
committed by GitHub
parent 8ece30ff2f
commit 91f9e27255
3 changed files with 128 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE test;
DROP TABLE IF EXISTS `pt2241`;
CREATE TABLE `pt2241` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tcol1` VARCHAR(30) DEFAULT '',
`tcol2` INT(11) DEFAULT 0,
PRIMARY KEY(id)
) ENGINE=InnoDB;