-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
476 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
tests/integration_tests/fail_over_ddl_F/conf/diff_config.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# diff Configuration. | ||
check-thread-count = 4 | ||
|
||
export-fix-sql = true | ||
|
||
check-struct-only = false | ||
|
||
[task] | ||
output-dir = "/tmp/tidb_cdc_test/fail_over_ddl_F/sync_diff/output" | ||
|
||
source-instances = ["mysql1"] | ||
|
||
target-instance = "tidb0" | ||
|
||
target-check-tables = ["fail_over_ddl_test2.*", "fail_over_ddl_test.*"] | ||
|
||
[data-sources] | ||
[data-sources.mysql1] | ||
host = "127.0.0.1" | ||
port = 4000 | ||
user = "root" | ||
password = "" | ||
|
||
[data-sources.tidb0] | ||
host = "127.0.0.1" | ||
port = 3306 | ||
user = "root" | ||
password = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
create database `fail_over_ddl_test2`; | ||
use `fail_over_ddl_test2`; | ||
|
||
create table t1 ( | ||
id INT AUTO_INCREMENT PRIMARY KEY, | ||
val INT DEFAULT 0, | ||
col0 INT NOT NULL | ||
); | ||
|
||
create table t2 ( | ||
id INT AUTO_INCREMENT PRIMARY KEY, | ||
val INT DEFAULT 0, | ||
col0 INT NOT NULL | ||
); | ||
|
||
INSERT INTO t1 (val, col0) VALUES (1, 1); | ||
INSERT INTO t1 (val, col0) VALUES (2, 2); | ||
INSERT INTO t1 (val, col0) VALUES (3, 3); | ||
INSERT INTO t1 (val, col0) VALUES (4, 4); | ||
INSERT INTO t1 (val, col0) VALUES (5, 5); | ||
INSERT INTO t1 (val, col0) VALUES (6, 6); | ||
INSERT INTO t1 (val, col0) VALUES (7, 7); | ||
INSERT INTO t1 (val, col0) VALUES (8, 8); | ||
INSERT INTO t1 (val, col0) VALUES (9, 9); | ||
INSERT INTO t1 (val, col0) VALUES (10, 10); | ||
|
||
INSERT INTO t2 (val, col0) VALUES (1, 1); | ||
INSERT INTO t2 (val, col0) VALUES (2, 2); | ||
INSERT INTO t2 (val, col0) VALUES (3, 3); | ||
INSERT INTO t2 (val, col0) VALUES (4, 4); | ||
INSERT INTO t2 (val, col0) VALUES (5, 5); | ||
INSERT INTO t2 (val, col0) VALUES (6, 6); | ||
INSERT INTO t2 (val, col0) VALUES (7, 7); | ||
INSERT INTO t2 (val, col0) VALUES (8, 8); | ||
INSERT INTO t2 (val, col0) VALUES (9, 9); | ||
INSERT INTO t2 (val, col0) VALUES (10, 10); |
Oops, something went wrong.