mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Galera 3 versions of the result files recorded.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_incoming_addresses';
|
||||||
|
VARIABLE_VALUE LIKE '%[::1]%'
|
||||||
|
1
|
||||||
|
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
||||||
|
VARIABLE_VALUE = 3
|
||||||
|
1
|
||||||
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
|
||||||
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
||||||
|
INSERT INTO t1 VALUES (1);
|
||||||
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
|
||||||
|
SELECT COUNT(*) = 1 FROM t1;
|
||||||
|
COUNT(*) = 1
|
||||||
|
1
|
||||||
|
DROP TABLE t1;
|
||||||
|
include/assert_grep.inc [Streaming the backup to joiner at \[::1\]]
|
||||||
|
include/assert_grep.inc [async IST sender starting to serve tcp://\[::1\]:]
|
||||||
|
include/assert_grep.inc [IST receiver addr using tcp://\[::1\]]
|
||||||
|
include/assert_grep.inc [Prepared IST receiver, listening at: tcp://\[::1\]]
|
@@ -1,17 +1,12 @@
|
|||||||
connection node_2;
|
|
||||||
connection node_1;
|
|
||||||
SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_incoming_addresses';
|
SELECT VARIABLE_VALUE LIKE '%[::1]%' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_incoming_addresses';
|
||||||
VARIABLE_VALUE LIKE '%[::1]%'
|
VARIABLE_VALUE LIKE '%[::1]%'
|
||||||
1
|
1
|
||||||
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
||||||
VARIABLE_VALUE = 3
|
VARIABLE_VALUE = 3
|
||||||
1
|
1
|
||||||
connection node_2;
|
|
||||||
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
|
||||||
connection node_1;
|
|
||||||
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
|
||||||
INSERT INTO t1 VALUES (1);
|
INSERT INTO t1 VALUES (1);
|
||||||
connection node_2;
|
|
||||||
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
|
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
|
||||||
SELECT COUNT(*) = 1 FROM t1;
|
SELECT COUNT(*) = 1 FROM t1;
|
||||||
COUNT(*) = 1
|
COUNT(*) = 1
|
||||||
|
@@ -39,30 +39,31 @@ DROP TABLE t1;
|
|||||||
--let $assert_only_after = CURRENT_TEST
|
--let $assert_only_after = CURRENT_TEST
|
||||||
|
|
||||||
# The SSTs happen when nodes are started first time
|
# The SSTs happen when nodes are started first time
|
||||||
--let $assert_count = 2
|
--let $assert_count= 2
|
||||||
--let $assert_text = Streaming the backup to joiner at \[::1\]
|
--let $assert_text = Streaming the backup to joiner at \[::1\]
|
||||||
--let $assert_select = Streaming the backup to joiner at \[::1\]
|
--let $assert_select = Streaming the backup to joiner at \[::1\]
|
||||||
--source include/assert_grep.inc
|
--source include/assert_grep.inc
|
||||||
|
|
||||||
# There will be 3 ISTs donated from node_1 in Galera 4.
|
# There will be 1 ISTs donated from node_1 in Galera 3.
|
||||||
# Two first happen at the initial startup to populate the certification
|
# Two first happen at the initial startup to populate the certification
|
||||||
# index. The third one is from the IST which happens during the actual test.
|
# index. The third one is from the IST which happens during the actual test.
|
||||||
--let $assert_count = 3
|
--let $assert_count= 1
|
||||||
--let $assert_text = async IST sender starting to serve tcp://\[::1\]:
|
--let $assert_text = async IST sender starting to serve tcp://\[::1\]:
|
||||||
--let $assert_select = async IST sender starting to serve tcp://\[::1\]:
|
--let $assert_select = async IST sender starting to serve tcp://\[::1\]:
|
||||||
--source include/assert_grep.inc
|
--source include/assert_grep.inc
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err
|
--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err
|
||||||
|
--let $assert_only_after = CURRENT_TEST
|
||||||
|
|
||||||
# There are two ISTs on joiner, the first at the initial startup, the second
|
# There is one ISTs on joiner at Galera 3.
|
||||||
# during the actual test.
|
--let $assert_count= 1
|
||||||
--let $assert_count = 2
|
|
||||||
--let $assert_text = IST receiver addr using tcp://\[::1\]
|
--let $assert_text = IST receiver addr using tcp://\[::1\]
|
||||||
--let $assert_select = IST receiver addr using tcp://\[::1\]
|
--let $assert_select = IST receiver addr using tcp://\[::1\]
|
||||||
--source include/assert_grep.inc
|
--source include/assert_grep.inc
|
||||||
|
|
||||||
# The receiver expects seqnos 3-6 only once.
|
# There will be only one Prepared IST and in Galera 3 segnos are not printed
|
||||||
--let $assert_count = 1
|
--let $assert_count= 1
|
||||||
--let $assert_text = Prepared IST receiver for 3-6, listening at: tcp://\[::1\]
|
--let $assert_text = Prepared IST receiver, listening at: tcp://\[::1\]
|
||||||
--let $assert_select = Prepared IST receiver for 3-6, listening at: tcp://\[::1\]
|
--let $assert_select = Prepared IST receiver, listening at: tcp://\[::1\]
|
||||||
--source include/assert_grep.inc
|
--source include/assert_grep.inc
|
||||||
|
Reference in New Issue
Block a user