-
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.
- Loading branch information
Showing
36 changed files
with
409 additions
and
115 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
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
20 changes: 10 additions & 10 deletions
20
...e/galera/r/galera_var_node_address.result → ...a_3nodes/r/galera_var_node_address.result
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,22 +1,22 @@ | ||
connection node_2; | ||
connection node_1; | ||
call mtr.add_suppression("WSREP: Stray state UUID msg: .*"); | ||
call mtr.add_suppression("WSREP: Protocol violation. JOIN message sender .*"); | ||
call mtr.add_suppression("WSREP: Sending JOIN failed: .*"); | ||
flush tables; | ||
connection node_1; | ||
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; | ||
VARIABLE_VALUE | ||
4 | ||
connection node_1; | ||
3 | ||
CREATE TABLE t1 (f1 INTEGER) ENGINE=INNODB; | ||
connection node_2; | ||
set global wsrep_sync_wait=15; | ||
INSERT INTO t1 VALUES (1); | ||
SELECT COUNT(*) AS EXPECT_1 FROM t1; | ||
EXPECT_1 | ||
1 | ||
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; | ||
connection node_3; | ||
set global wsrep_sync_wait=15; | ||
SELECT COUNT(*) FROM t1; | ||
COUNT(*) | ||
SELECT COUNT(*) AS EXPECT_1 FROM t1; | ||
EXPECT_1 | ||
1 | ||
connection node_1; | ||
SELECT COUNT(*) AS EXPECT_1 FROM t1; | ||
EXPECT_1 | ||
1 | ||
DROP TABLE t1; |
4 changes: 1 addition & 3 deletions
4
...uite/galera/t/galera_var_node_address.cnf → ...lera_3nodes/t/galera_var_node_address.cnf
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,8 @@ | ||
!include ../galera_4nodes.cnf | ||
!include ../galera_3nodes.cnf | ||
|
||
[mysqld.2] | ||
wsrep_node_address=127.0.0.1 | ||
|
||
[mysqld.3] | ||
wsrep_node_address=localhost | ||
|
||
[mysqld.4] | ||
wsrep_node_address=lo |
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
Oops, something went wrong.