-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test cases that use debug galera library.
Changes to be committed: modified: mysql-test/suite/galera/r/MW-369.result modified: mysql-test/suite/galera/r/MW-402.result modified: mysql-test/suite/galera/r/galera#500.result modified: mysql-test/suite/galera/r/galera_gcs_fragment.result modified: mysql-test/suite/galera/r/mysql-wsrep#332.result
- Loading branch information
Jan Lindström
committed
Oct 30, 2019
1 parent
36a9694
commit cd1c108
Showing
5 changed files
with
97 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
connection node_2; | ||
SET SESSION wsrep_sync_wait = 0; | ||
SET GLOBAL wsrep_provider_options="gmcast.isolate=2"; | ||
connection node_1; | ||
SET SESSION wsrep_sync_wait = 0; | ||
SHOW STATUS LIKE 'wsrep_cluster_status'; | ||
Variable_name Value | ||
wsrep_cluster_status non-Primary | ||
SET SESSION wsrep_sync_wait = default; | ||
SET GLOBAL wsrep_provider_options="pc.bootstrap=1"; | ||
connection node_2; | ||
SET SESSION wsrep_on=0; | ||
connection node_2; | ||
CALL mtr.add_suppression("WSREP: exception from gcomm, backend must be restarted: Gcomm backend termination was requested by setting gmcast.isolate=2."); |
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 |
---|---|---|
@@ -1,24 +1,35 @@ | ||
connection node_1; | ||
connection node_2; | ||
CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 TEXT); | ||
connection node_2; | ||
SET GLOBAL wsrep_cluster_address=''; | ||
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1; | ||
SET SESSION wsrep_sync_wait=0; | ||
SET GLOBAL wsrep_provider_options = 'dbug=d,gcs_core_after_frag_send'; | ||
connection node_1; | ||
SET SESSION wsrep_retry_autocommit=0; | ||
INSERT INTO t1 VALUES (1, "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); | ||
connection node_1a; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 1; | ||
SET GLOBAL wsrep_provider_options = 'dbug='; | ||
connection node_2; | ||
SET SESSION wsrep_on = 0; | ||
SET SESSION wsrep_on = 1; | ||
INSERT INTO t1 VALUES (2, "bbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); | ||
connection node_1a; | ||
SET GLOBAL wsrep_provider_options = 'signal=gcs_core_after_frag_send'; | ||
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction | ||
connection node_1; | ||
ERROR 40001: Deadlock: wsrep aborted transaction | ||
INSERT INTO t1 VALUES (3, "cccccaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); | ||
SELECT * FROM t1; | ||
f1 f2 | ||
2 bbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
3 cccccaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
connection node_2; | ||
SELECT * FROM t1; | ||
f1 f2 | ||
2 bbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
3 cccccaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa | ||
connection node_1; | ||
DROP TABLE t1; |
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