mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
galera mtr tests: synchronization between editions/branches (10.5)
This commit is contained in:
@@ -111,3 +111,4 @@ mtr
|
|||||||
mysql
|
mysql
|
||||||
performance_schema
|
performance_schema
|
||||||
test
|
test
|
||||||
|
disconnect userMW416;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- a/home/panda/mariadb-10.5/mysql-test/suite/galera/r/galera_bf_kill.result
|
--- r/galera_bf_kill.result
|
||||||
+++ b/home/panda/mariadb-10.5/mysql-test/suite/galera/r/galera_bf_kill.reject
|
+++ r/galera_bf_kill,debug.reject
|
||||||
@@ -77,4 +77,34 @@ a b
|
@@ -77,4 +77,34 @@ a b
|
||||||
5 2
|
5 2
|
||||||
disconnect node_2a;
|
disconnect node_2a;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_MDEV-28423.result
|
--- r/galera_ist_MDEV-28423.result
|
||||||
+++ r/galera_ist_MDEV-28423.reject
|
+++ r/galera_ist_MDEV-28423,debug.reject
|
||||||
@@ -517,3 +517,187 @@
|
@@ -517,3 +517,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_MDEV-28583.result
|
--- r/galera_ist_MDEV-28583.result
|
||||||
+++ r/galera_ist_MDEV-28583.reject
|
+++ r/galera_ist_MDEV-28583,debug.reject
|
||||||
@@ -517,3 +517,187 @@
|
@@ -517,3 +517,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_mariabackup.result 2021-04-10 14:21:16.141724901 +0300
|
--- r/galera_ist_mariabackup.result
|
||||||
+++ r/galera_ist_mariabackup,debug.reject 2021-04-10 14:49:04.455785652 +0300
|
+++ r/galera_ist_mariabackup,debug.reject
|
||||||
@@ -517,3 +517,187 @@
|
@@ -517,3 +517,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_mariabackup_innodb_flush_logs.result 2021-04-10 14:21:52.661886653 +0300
|
--- r/galera_ist_mariabackup_innodb_flush_logs.result
|
||||||
+++ r/galera_ist_mariabackup_innodb_flush_logs,debug.reject 2021-04-10 14:49:56.740062774 +0300
|
+++ r/galera_ist_mariabackup_innodb_flush_logs,debug.reject
|
||||||
@@ -172,3 +172,187 @@
|
@@ -172,3 +172,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_mysqldump.result 2021-04-10 14:23:23.158282307 +0300
|
--- r/galera_ist_mysqldump.result
|
||||||
+++ r/galera_ist_mysqldump,debug.reject 2021-04-10 15:27:13.316299695 +0300
|
+++ r/galera_ist_mysqldump,debug.reject
|
||||||
@@ -354,6 +354,190 @@
|
@@ -354,6 +354,190 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_ist_rsync.result 2021-04-10 14:24:05.942467091 +0300
|
--- r/galera_ist_rsync.result
|
||||||
+++ r/galera_ist_rsync,debug.reject 2021-04-10 14:52:14.236776538 +0300
|
+++ r/galera_ist_rsync,debug.reject
|
||||||
@@ -517,3 +517,187 @@
|
@@ -517,3 +517,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mariabackup.result
|
--- r/galera_sst_mariabackup.result
|
||||||
+++ r/galera_sst_mariabackup.reject
|
+++ r/galera_sst_mariabackup,debug.reject
|
||||||
@@ -516,5 +516,189 @@
|
@@ -516,5 +516,189 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mariabackup_data_dir.result 2021-04-10 14:26:02.798965488 +0300
|
--- r/galera_sst_mariabackup_data_dir.result
|
||||||
+++ r/galera_sst_mariabackup_data_dir,debug.reject 2021-04-10 14:54:44.825538224 +0300
|
+++ r/galera_sst_mariabackup_data_dir,debug.reject
|
||||||
@@ -516,5 +516,189 @@
|
@@ -516,5 +516,189 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mariabackup.result 2021-04-10 14:25:04.142716409 +0300
|
--- r/galera_sst_mariabackup_force_recovery.result
|
||||||
+++ r/galera_sst_mariabackup,debug.reject 2021-04-10 14:53:30.033162191 +0300
|
+++ r/galera_sst_mariabackup_force_recovery,debug.reject
|
||||||
@@ -516,5 +516,189 @@
|
@@ -516,5 +516,189 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mariabackup_logarchive.result
|
--- r/galera_sst_mariabackup_logarchive.result
|
||||||
+++ r/galera_sst_mariabackup_logarchive.reject
|
+++ r/galera_sst_mariabackup_logarchive,debug.reject
|
||||||
@@ -516,5 +516,189 @@
|
@@ -516,5 +516,189 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mysqldump.result 2021-04-18 13:15:29.909314729 +0300
|
--- r/galera_sst_mysqldump.result
|
||||||
+++ r/galera_sst_mysqldump.reject 2021-04-18 13:50:47.096965646 +0300
|
+++ r/galera_sst_mysqldump,debug.reject
|
||||||
@@ -698,6 +698,190 @@
|
@@ -698,6 +698,190 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_mysqldump_with_key.result 2021-04-10 14:33:29.441606621 +0300
|
--- r/galera_sst_mysqldump_with_key.result
|
||||||
+++ r/galera_sst_mysqldump_with_key,debug.reject 2021-04-10 15:02:45.367881573 +0300
|
+++ r/galera_sst_mysqldump_with_key,debug.reject
|
||||||
@@ -358,6 +358,190 @@
|
@@ -358,6 +358,190 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- galera_sst_rsync.result
|
--- galera_sst_rsync.result
|
||||||
+++ galera_sst_rsync.reject
|
+++ galera_sst_rsync,debug.reject
|
||||||
@@ -516,3 +516,187 @@
|
@@ -516,3 +516,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_rsync2.result 2021-04-10 14:34:48.646288119 +0300
|
--- r/galera_sst_rsync2.result
|
||||||
+++ r/galera_sst_rsync2,debug.reject 2021-04-10 15:04:10.276286996 +0300
|
+++ r/galera_sst_rsync2,debug.reject
|
||||||
@@ -516,3 +516,187 @@
|
@@ -516,3 +516,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/galera_sst_rsync_data_dir.result 2021-04-10 14:35:28.090610315 +0300
|
--- r/galera_sst_rsync_data_dir.result
|
||||||
+++ r/galera_sst_rsync_data_dir,debug.reject 2021-04-10 15:50:26.945234998 +0300
|
+++ r/galera_sst_rsync_data_dir,debug.reject
|
||||||
@@ -516,3 +516,187 @@
|
@@ -516,3 +516,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
--- r/galera_sst_rsync_recv_auto.result
|
||||||
|
+++ r/galera_sst_rsync_recv_auto,debug.reject
|
||||||
@@ -516,3 +516,187 @@
|
@@ -516,3 +516,187 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
--- r/mysql-wsrep#33.result 2021-04-10 14:36:42.663191908 +0300
|
--- r/mysql-wsrep#33.result
|
||||||
+++ r/mysql-wsrep#33,debug.reject 2021-04-10 15:43:02.420168969 +0300
|
+++ r/mysql-wsrep#33,debug.reject
|
||||||
@@ -698,6 +698,190 @@
|
@@ -698,6 +698,190 @@
|
||||||
1
|
1
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
|
@@ -10,20 +10,20 @@ return wsrep_not_ok() if wsrep_not_ok();
|
|||||||
|
|
||||||
push @::global_suppressions,
|
push @::global_suppressions,
|
||||||
(
|
(
|
||||||
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
|
qr(WSREP: wsrep_sst_receive_address is set to '127\.0\.0\.1),
|
||||||
qr(WSREP: Could not open saved state file for reading: .*),
|
qr(WSREP: Could not open saved state file for reading: .*),
|
||||||
qr(WSREP: Could not open state file for reading: .*),
|
qr(WSREP: Could not open state file for reading: .*),
|
||||||
qr(WSREP: Gap in state sequence. Need state transfer.),
|
qr(WSREP: Gap in state sequence\. Need state transfer\.),
|
||||||
qr(WSREP: Failed to prepare for incremental state transfer:),
|
qr(WSREP: Failed to prepare for incremental state transfer:),
|
||||||
qr(WSREP:.*down context.*),
|
qr(WSREP: .*down context.*),
|
||||||
qr(WSREP: Failed to send state UUID:),
|
qr(WSREP: Failed to send state UUID:),
|
||||||
qr(WSREP: last inactive check more than .* skipping check),
|
qr(WSREP: last inactive check more than .* skipping check),
|
||||||
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned.),
|
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned\.),
|
||||||
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
||||||
qr(WSREP: Quorum: No node with complete state),
|
qr(WSREP: Quorum: No node with complete state),
|
||||||
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
||||||
qr|WSREP: discarding established \(time wait\) .*|,
|
qr|WSREP: discarding established \(time wait\) .*|,
|
||||||
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside. Will use that one.),
|
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside\. Will use that one\.),
|
||||||
qr(WSREP: evs::proto.*),
|
qr(WSREP: evs::proto.*),
|
||||||
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
||||||
qr(WSREP: no nodes coming from prim view, prim not possible),
|
qr(WSREP: no nodes coming from prim view, prim not possible),
|
||||||
@@ -46,25 +46,25 @@ push @::global_suppressions,
|
|||||||
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
||||||
qr(WSREP: gcs connect failed: Connection timed out),
|
qr(WSREP: gcs connect failed: Connection timed out),
|
||||||
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
||||||
qr(WSREP: SYNC message from member .* in non-primary configuration. Ignored.),
|
qr(WSREP: SYNC message from member .* in non-primary configuration\. Ignored\.),
|
||||||
qr(WSREP: Could not find peer:),
|
qr(WSREP: Could not find peer:),
|
||||||
qr(WSREP: TO isolation failed for: .*),
|
qr(WSREP: TO isolation failed for: .*),
|
||||||
qr|WSREP: gcs_caused\(\) returned .*|,
|
qr|WSREP: gcs_caused\(\) returned .*|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored\.|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored\.|,
|
||||||
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled. Expect abort.|,
|
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled\. Expect abort\.|,
|
||||||
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: discarding established .*),
|
qr(WSREP: discarding established .*),
|
||||||
qr|WSREP: .*core_handle_uuid_msg.*|,
|
qr|WSREP: .*core_handle_uuid_msg.*|,
|
||||||
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0\. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
||||||
qr|WSREP: JOIN message from member .* in non-primary configuration. Ignored.|,
|
qr|WSREP: JOIN message from member .* in non-primary configuration\. Ignored\.|,
|
||||||
qr|Query apply failed:*|,
|
qr|WSREP: .*Query apply failed:.*|,
|
||||||
qr(WSREP: Ignoring error*),
|
qr(WSREP: Ignoring error.*),
|
||||||
qr(WSREP: Failed to remove page file .*),
|
qr(WSREP: Failed to remove page file .*),
|
||||||
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
||||||
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\). Will retry in new primary component.|,
|
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\)\. Will retry in new primary component\.|,
|
||||||
qr|WSREP: Send action \{.* STATE_REQUEST} returned -107 \(Transport endpoint is not connected\)|,
|
qr|WSREP: Send action \{.* STATE_REQUEST\} returned -107 \(Transport endpoint is not connected\)|,
|
||||||
qr|WSREP: Trying to continue unpaused monitor|,
|
qr|WSREP: Trying to continue unpaused monitor|,
|
||||||
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
||||||
qr|WSREP: Failed to report last committed|,
|
qr|WSREP: Failed to report last committed|,
|
||||||
|
@@ -17,87 +17,87 @@ ALTER DATABASE db CHARACTER SET = utf8;
|
|||||||
ALTER EVENT ev1 RENAME TO ev2;
|
ALTER EVENT ev1 RENAME TO ev2;
|
||||||
--error 1370
|
--error 1370
|
||||||
ALTER FUNCTION fun1 COMMENT 'foo';
|
ALTER FUNCTION fun1 COMMENT 'foo';
|
||||||
#--error 1044,1142,1227,1370
|
#--error 1044,1227
|
||||||
#ALTER INSTANCE ROTATE INNODB MASTER KEY;
|
#ALTER INSTANCE ROTATE INNODB MASTER KEY;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
ALTER LOGFILE GROUP lfg ADD UNDOFILE 'file' ENGINE=InnoDB;
|
ALTER LOGFILE GROUP lfg ADD UNDOFILE 'file' ENGINE=InnoDB;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
ALTER PROCEDURE proc1 COMMENT 'foo';
|
ALTER PROCEDURE proc1 COMMENT 'foo';
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
ALTER SERVER srv OPTIONS (USER 'sally');
|
ALTER SERVER srv OPTIONS (USER 'sally');
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
ALTER TABLE tbl DROP COLUMN col;
|
ALTER TABLE tbl DROP COLUMN col;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
ALTER TABLESPACE tblspc DROP DATAFILE 'file' ENGINE=innodb;
|
ALTER TABLESPACE tblspc DROP DATAFILE 'file' ENGINE=innodb;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
ALTER VIEW vw AS SELECT 1;
|
ALTER VIEW vw AS SELECT 1;
|
||||||
|
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
CREATE DATABASE db;
|
CREATE DATABASE db;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
CREATE EVENT ev1 ON SCHEDULE AT CURRENT_TIMESTAMP DO SELECT 1;
|
CREATE EVENT ev1 ON SCHEDULE AT CURRENT_TIMESTAMP DO SELECT 1;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
CREATE FUNCTION fun1() RETURNS int RETURN(1);
|
CREATE FUNCTION fun1() RETURNS int RETURN(1);
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
CREATE FUNCTION fun1 RETURNS STRING SONAME 'funlib.so';
|
CREATE FUNCTION fun1 RETURNS STRING SONAME 'funlib.so';
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
CREATE PROCEDURE proc1() BEGIN END;
|
CREATE PROCEDURE proc1() BEGIN END;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CREATE INDEX idx ON tbl(id);
|
CREATE INDEX idx ON tbl(id);
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CREATE LOGFILE GROUP lfg ADD UNDOFILE 'undofile' ENGINE innodb;
|
CREATE LOGFILE GROUP lfg ADD UNDOFILE 'undofile' ENGINE innodb;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
CREATE SERVER srv FOREIGN DATA WRAPPER 'fdw' OPTIONS (USER 'user');
|
CREATE SERVER srv FOREIGN DATA WRAPPER 'fdw' OPTIONS (USER 'user');
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CREATE TABLE t (i int);
|
CREATE TABLE t (i int);
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
CREATE TABLESPACE tblspc ADD DATAFILE 'file' ENGINE=innodb;
|
CREATE TABLESPACE tblspc ADD DATAFILE 'file' ENGINE=innodb;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CREATE TRIGGER trg BEFORE UPDATE ON t FOR EACH ROW BEGIN END;
|
CREATE TRIGGER trg BEFORE UPDATE ON t FOR EACH ROW BEGIN END;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CREATE VIEW vw AS SELECT 1;
|
CREATE VIEW vw AS SELECT 1;
|
||||||
|
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
DROP DATABASE db;
|
DROP DATABASE db;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
DROP EVENT ev;
|
DROP EVENT ev;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
DROP FUNCTION fun1;
|
DROP FUNCTION fun1;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
DROP INDEX idx ON t0;
|
DROP INDEX idx ON t0;
|
||||||
--error 1044,1142,1227,1370,1064
|
--error 1044,1227,1064
|
||||||
DROP LOGFILE GROUP lfg;
|
DROP LOGFILE GROUP lfg;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227,1370
|
||||||
DROP PROCEDURE proc1;
|
DROP PROCEDURE proc1;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
DROP SERVEr srv;
|
DROP SERVEr srv;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
DROP TABLE t0;
|
DROP TABLE t0;
|
||||||
--error 1044,1142,1227,1370,1064
|
--error 1044,1227,1064
|
||||||
DROP TABLESPACE tblspc;
|
DROP TABLESPACE tblspc;
|
||||||
--error 1044,1142,1227,1360,1370
|
--error 1044,1227,1360
|
||||||
DROP TRIGGER trg;
|
DROP TRIGGER trg;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
DROP VIEW vw;
|
DROP VIEW vw;
|
||||||
|
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
RENAME TABLE t0 TO t1;
|
RENAME TABLE t0 TO t1;
|
||||||
|
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
TRUNCATE TABLE t0;
|
TRUNCATE TABLE t0;
|
||||||
|
|
||||||
# DCL
|
# DCL
|
||||||
|
|
||||||
# account management
|
# account management
|
||||||
--error 1044,1142,1227,1370,1064
|
--error 1044,1227,1064
|
||||||
ALTER USER myuser PASSWORD EXPIRE;
|
ALTER USER myuser PASSWORD EXPIRE;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
CREATE USER myuser IDENTIFIED BY 'pass';
|
CREATE USER myuser IDENTIFIED BY 'pass';
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
DROP USER myuser;
|
DROP USER myuser;
|
||||||
--error 1044,1045,1142,1227,1370
|
--error 1044,1045,1227
|
||||||
GRANT ALL ON *.* TO 'myuser';
|
GRANT ALL ON *.* TO 'myuser';
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1227
|
||||||
RENAME USER myuser TO mariauser;
|
RENAME USER myuser TO mariauser;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227,1370
|
||||||
REVOKE SELECT ON test FROM myuser;
|
REVOKE SELECT ON test FROM myuser;
|
||||||
@@ -107,23 +107,25 @@ REVOKE ALL, GRANT OPTION FROM myuser;
|
|||||||
REVOKE PROXY ON myuser FROM myuser;
|
REVOKE PROXY ON myuser FROM myuser;
|
||||||
|
|
||||||
# table maintenance
|
# table maintenance
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
ANALYZE TABLE db.tbl;
|
ANALYZE TABLE db.tbl;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CHECK TABLE db.tbl;
|
CHECK TABLE db.tbl;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
CHECKSUM TABLE db.tbl;
|
CHECKSUM TABLE db.tbl;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
OPTIMIZE TABLE db.tbl;
|
OPTIMIZE TABLE db.tbl;
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
REPAIR TABLE db.tbl;
|
REPAIR TABLE db.tbl;
|
||||||
|
|
||||||
# plugin and user defined functions
|
# plugin and user defined functions
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
INSTALL PLUGIN plg SONAME 'plg.so';
|
INSTALL PLUGIN plg SONAME 'plg.so';
|
||||||
--error 1044,1142,1227,1370
|
--error 1044,1142,1227
|
||||||
UNINSTALL PLUGIN plg;
|
UNINSTALL PLUGIN plg;
|
||||||
|
|
||||||
--connection node_1
|
--connection node_1
|
||||||
DROP USER 'userMW416'@'localhost';
|
DROP USER 'userMW416'@'localhost';
|
||||||
SHOW DATABASES;
|
SHOW DATABASES;
|
||||||
|
|
||||||
|
--disconnect userMW416
|
||||||
|
41
mysql-test/suite/galera_3nodes/r/galera-features#115.result
Normal file
41
mysql-test/suite/galera_3nodes/r/galera-features#115.result
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
connection node_2;
|
||||||
|
connection node_1;
|
||||||
|
connection node_1;
|
||||||
|
connection node_2;
|
||||||
|
connection node_3;
|
||||||
|
connection node_2;
|
||||||
|
SET GLOBAL wsrep_on=OFF;
|
||||||
|
DROP SCHEMA test;
|
||||||
|
connection node_3;
|
||||||
|
SET GLOBAL wsrep_on=OFF;
|
||||||
|
CREATE TABLE t1 (f1 INTEGER);
|
||||||
|
connection node_1;
|
||||||
|
CREATE TABLE t1 (f1 INTEGER);
|
||||||
|
connection node_1;
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
connection node_2;
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
connection node_3;
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
connection node_1;
|
||||||
|
SET GLOBAL wsrep_provider_options='pc.bootstrap=YES';
|
||||||
|
connection node_2;
|
||||||
|
disconnect node_2;
|
||||||
|
connect node_2, 127.0.0.1, root, , mysql, $NODE_MYPORT_2;
|
||||||
|
# restart
|
||||||
|
connection node_3;
|
||||||
|
# restart
|
||||||
|
connection node_1;
|
||||||
|
DROP TABLE test.t1;
|
||||||
|
connection node_2;
|
||||||
|
CALL mtr.add_suppression("Inconsistent by consensus\\.");
|
||||||
|
CALL mtr.add_suppression("Error_code: 1049");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply trx: source: ");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply app buffer");
|
||||||
|
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
|
||||||
|
connection node_3;
|
||||||
|
CALL mtr.add_suppression("Inconsistent by consensus\\.");
|
||||||
|
CALL mtr.add_suppression("Error_code: 1050");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply trx: source: ");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply app buffer");
|
||||||
|
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
|
@@ -3,7 +3,6 @@ connection node_1;
|
|||||||
connect node_5, 127.0.0.1, root, , test, $NODE_MYPORT_5;
|
connect node_5, 127.0.0.1, root, , test, $NODE_MYPORT_5;
|
||||||
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
|
connect node_4, 127.0.0.1, root, , test, $NODE_MYPORT_4;
|
||||||
connection node_4;
|
connection node_4;
|
||||||
CHANGE MASTER TO master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_1, master_use_gtid=current_pos;;
|
|
||||||
START SLAVE;
|
START SLAVE;
|
||||||
include/wait_for_slave_to_start.inc
|
include/wait_for_slave_to_start.inc
|
||||||
connection node_1;
|
connection node_1;
|
||||||
|
@@ -35,7 +35,7 @@ SHOW STATUS LIKE 'wsrep_cluster_size';
|
|||||||
Variable_name Value
|
Variable_name Value
|
||||||
wsrep_cluster_size 3
|
wsrep_cluster_size 3
|
||||||
connection node_1;
|
connection node_1;
|
||||||
change master to master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_4, master_use_gtid=current_pos, ignore_server_ids=(12,13);;
|
--- ignore_server_ids=(12,13)
|
||||||
start slave;
|
start slave;
|
||||||
include/wait_for_slave_to_start.inc
|
include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -45,7 +45,7 @@ select @@gtid_slave_pos;
|
|||||||
@@gtid_slave_pos
|
@@gtid_slave_pos
|
||||||
|
|
||||||
connection node_4;
|
connection node_4;
|
||||||
change master to master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_1, master_use_gtid=current_pos, ignore_server_ids=(22,23);;
|
--- ignore_server_ids=(22,23)
|
||||||
start slave;
|
start slave;
|
||||||
include/wait_for_slave_to_start.inc
|
include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -258,7 +258,7 @@ set global wsrep_on=OFF;
|
|||||||
reset master;
|
reset master;
|
||||||
set global wsrep_on=ON;
|
set global wsrep_on=ON;
|
||||||
connection node_1;
|
connection node_1;
|
||||||
change master to master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_6, master_use_gtid=current_pos, ignore_server_ids=(12,13);;
|
--- ignore_server_ids=(12,13)
|
||||||
start slave;
|
start slave;
|
||||||
include/wait_for_slave_to_start.inc
|
include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -268,7 +268,7 @@ select @@gtid_slave_pos;
|
|||||||
@@gtid_slave_pos
|
@@gtid_slave_pos
|
||||||
|
|
||||||
connection node_4;
|
connection node_4;
|
||||||
change master to master_host='127.0.0.1', master_user='root', master_port=NODE_MYPORT_3, master_use_gtid=current_pos, ignore_server_ids=(22,23);;
|
--- ignore_server_ids=(22,23)
|
||||||
start slave;
|
start slave;
|
||||||
include/wait_for_slave_to_start.inc
|
include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
|
@@ -9,20 +9,20 @@ return wsrep_not_ok() if wsrep_not_ok();
|
|||||||
|
|
||||||
push @::global_suppressions,
|
push @::global_suppressions,
|
||||||
(
|
(
|
||||||
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
|
qr(WSREP: wsrep_sst_receive_address is set to '127\.0\.0\.1),
|
||||||
qr(WSREP: Could not open saved state file for reading: .*),
|
qr(WSREP: Could not open saved state file for reading: .*),
|
||||||
qr(WSREP: Could not open state file for reading: .*),
|
qr(WSREP: Could not open state file for reading: .*),
|
||||||
qr(WSREP: Gap in state sequence. Need state transfer.),
|
qr(WSREP: Gap in state sequence\. Need state transfer\.),
|
||||||
qr(WSREP: Failed to prepare for incremental state transfer:),
|
qr(WSREP: Failed to prepare for incremental state transfer:),
|
||||||
qr(WSREP:.*down context.*),
|
qr(WSREP: .*down context.*),
|
||||||
qr(WSREP: Failed to send state UUID:),
|
qr(WSREP: Failed to send state UUID:),
|
||||||
qr(WSREP: last inactive check more than .* skipping check),
|
qr(WSREP: last inactive check more than .* skipping check),
|
||||||
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned.),
|
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned\.),
|
||||||
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
||||||
qr(WSREP: Quorum: No node with complete state),
|
qr(WSREP: Quorum: No node with complete state),
|
||||||
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
||||||
qr|WSREP: discarding established \(time wait\) .*|,
|
qr|WSREP: discarding established \(time wait\) .*|,
|
||||||
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside. Will use that one.),
|
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside\. Will use that one\.),
|
||||||
qr(WSREP: evs::proto.*),
|
qr(WSREP: evs::proto.*),
|
||||||
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
||||||
qr(WSREP: no nodes coming from prim view, prim not possible),
|
qr(WSREP: no nodes coming from prim view, prim not possible),
|
||||||
@@ -45,33 +45,35 @@ push @::global_suppressions,
|
|||||||
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
||||||
qr(WSREP: gcs connect failed: Connection timed out),
|
qr(WSREP: gcs connect failed: Connection timed out),
|
||||||
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
||||||
qr(WSREP: SYNC message from member .* in non-primary configuration. Ignored.),
|
qr(WSREP: SYNC message from member .* in non-primary configuration\. Ignored\.),
|
||||||
qr(WSREP: Could not find peer:),
|
qr(WSREP: Could not find peer:),
|
||||||
qr(WSREP: TO isolation failed for: .*),
|
qr(WSREP: TO isolation failed for: .*),
|
||||||
qr|WSREP: gcs_caused\(\) returned .*|,
|
qr|WSREP: gcs_caused\(\) returned .*|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored\.|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored\.|,
|
||||||
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled. Expect abort.|,
|
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled\. Expect abort\.|,
|
||||||
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: discarding established .*),
|
qr(WSREP: discarding established .*),
|
||||||
qr|WSREP: .*core_handle_uuid_msg.*|,
|
qr|WSREP: .*core_handle_uuid_msg.*|,
|
||||||
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0\. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
||||||
qr|WSREP: JOIN message from member .* in non-primary configuration. Ignored.|,
|
qr|WSREP: JOIN message from member .* in non-primary configuration\. Ignored\.|,
|
||||||
qr|Query apply failed:*|,
|
qr|WSREP: .*Query apply failed:.*|,
|
||||||
qr(WSREP: Ignoring error*),
|
qr(WSREP: Ignoring error.*),
|
||||||
qr(WSREP: Failed to remove page file .*),
|
qr(WSREP: Failed to remove page file .*),
|
||||||
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
||||||
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\). Will retry in new primary component.|,
|
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\)\. Will retry in new primary component\.|,
|
||||||
|
qr|WSREP: Send action \{.* STATE_REQUEST\} returned -107 \(Transport endpoint is not connected\)|,
|
||||||
qr|WSREP: Trying to continue unpaused monitor|,
|
qr|WSREP: Trying to continue unpaused monitor|,
|
||||||
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
||||||
|
qr|WSREP: Failed to report last committed|,
|
||||||
);
|
);
|
||||||
|
|
||||||
sub which($) { return `sh -c "command -v $_[0]"` }
|
sub which($) { return `sh -c "command -v $_[0]"` }
|
||||||
|
|
||||||
sub skip_combinations {
|
sub skip_combinations {
|
||||||
my %skip = ();
|
my %skip = ();
|
||||||
$skip{'include/have_mariabackup.inc'} = 'Need ss'
|
$skip{'include/have_mariabackup.inc'} = 'Need socket statistics utility'
|
||||||
unless which("lsof") || which("sockstat") || which("ss");
|
unless which("lsof") || which("sockstat") || which("ss");
|
||||||
%skip;
|
%skip;
|
||||||
}
|
}
|
||||||
|
4
mysql-test/suite/galera_3nodes/t/galera-features#115.cnf
Normal file
4
mysql-test/suite/galera_3nodes/t/galera-features#115.cnf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
!include ../galera_3nodes.cnf
|
||||||
|
|
||||||
|
[mysqld]
|
||||||
|
wsrep-ignore-apply-errors=0
|
89
mysql-test/suite/galera_3nodes/t/galera-features#115.test
Normal file
89
mysql-test/suite/galera_3nodes/t/galera-features#115.test
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
#
|
||||||
|
# This test tests that one successful node wins over two nodes that fail for
|
||||||
|
# different reasons
|
||||||
|
#
|
||||||
|
--source include/galera_cluster.inc
|
||||||
|
--source include/have_innodb.inc
|
||||||
|
|
||||||
|
--let $galera_connection_name = node_3
|
||||||
|
--let $galera_server_number = 3
|
||||||
|
--source include/galera_connect.inc
|
||||||
|
|
||||||
|
--let $node_1=node_1
|
||||||
|
--let $node_2=node_2
|
||||||
|
--let $node_3=node_3
|
||||||
|
--source suite/galera/include/auto_increment_offset_save.inc
|
||||||
|
|
||||||
|
# create inconsistency on node 2
|
||||||
|
--connection node_2
|
||||||
|
SET GLOBAL wsrep_on=OFF;
|
||||||
|
DROP SCHEMA test;
|
||||||
|
|
||||||
|
# create inconsistency on node 3
|
||||||
|
--connection node_3
|
||||||
|
SET GLOBAL wsrep_on=OFF;
|
||||||
|
CREATE TABLE t1 (f1 INTEGER);
|
||||||
|
|
||||||
|
--connection node_1
|
||||||
|
CREATE TABLE t1 (f1 INTEGER);
|
||||||
|
|
||||||
|
# check that nodes 2 and 3 leave the cluster, and node_1 is Primary by itself
|
||||||
|
|
||||||
|
--connection node_1
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 'Disconnected' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
--connection node_3
|
||||||
|
SET SESSION wsrep_sync_wait=0;
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 'Disconnected' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
--connection node_1
|
||||||
|
# this is a workaround for "sending install message failed" BUG:
|
||||||
|
# https://github.com/codership/galera/issues/174
|
||||||
|
# When it happens, node_1 becomes non-prim
|
||||||
|
SET GLOBAL wsrep_provider_options='pc.bootstrap=YES';
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
# restart nodes 2 and 3, since they failed
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
# need to reinitialize connection due to a "Bad handshake" bug.
|
||||||
|
# we reconnect using the 'mysql' database as 'test' was dropped.
|
||||||
|
--disconnect node_2
|
||||||
|
--connect node_2, 127.0.0.1, root, , mysql, $NODE_MYPORT_2
|
||||||
|
--source include/restart_mysqld.inc
|
||||||
|
|
||||||
|
--connection node_3
|
||||||
|
--source include/restart_mysqld.inc
|
||||||
|
|
||||||
|
--connection node_1
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
--let $wait_condition = SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
|
||||||
|
--source include/wait_condition.inc
|
||||||
|
|
||||||
|
DROP TABLE test.t1;
|
||||||
|
|
||||||
|
--source suite/galera/include/auto_increment_offset_restore.inc
|
||||||
|
|
||||||
|
--connection node_2
|
||||||
|
CALL mtr.add_suppression("Inconsistent by consensus\\.");
|
||||||
|
CALL mtr.add_suppression("Error_code: 1049");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply trx: source: ");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply app buffer");
|
||||||
|
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
|
||||||
|
|
||||||
|
--connection node_3
|
||||||
|
CALL mtr.add_suppression("Inconsistent by consensus\\.");
|
||||||
|
CALL mtr.add_suppression("Error_code: 1050");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply trx: source: ");
|
||||||
|
CALL mtr.add_suppression("WSREP: Failed to apply app buffer");
|
||||||
|
CALL mtr.add_suppression("WSREP: Node consistency compromized, leaving cluster\\.\\.\\.");
|
@@ -15,8 +15,9 @@
|
|||||||
|
|
||||||
--connection node_4
|
--connection node_4
|
||||||
|
|
||||||
--replace_result $NODE_MYPORT_1 NODE_MYPORT_1
|
--disable_query_log
|
||||||
--eval CHANGE MASTER TO master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_1, master_use_gtid=current_pos;
|
--eval CHANGE MASTER TO master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_1, master_use_gtid=current_pos;
|
||||||
|
--enable_query_log
|
||||||
START SLAVE;
|
START SLAVE;
|
||||||
--source include/wait_for_slave_to_start.inc
|
--source include/wait_for_slave_to_start.inc
|
||||||
|
|
||||||
|
@@ -42,8 +42,10 @@ SHOW STATUS LIKE 'wsrep_cluster_size';
|
|||||||
SHOW STATUS LIKE 'wsrep_cluster_size';
|
SHOW STATUS LIKE 'wsrep_cluster_size';
|
||||||
#--disable_parsing
|
#--disable_parsing
|
||||||
--connection node_1
|
--connection node_1
|
||||||
--replace_result $NODE_MYPORT_4 NODE_MYPORT_4
|
--echo --- ignore_server_ids=(12,13)
|
||||||
|
--disable_query_log
|
||||||
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_4, master_use_gtid=current_pos, ignore_server_ids=(12,13);
|
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_4, master_use_gtid=current_pos, ignore_server_ids=(12,13);
|
||||||
|
--enable_query_log
|
||||||
start slave;
|
start slave;
|
||||||
--source include/wait_for_slave_to_start.inc
|
--source include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -51,8 +53,10 @@ select @@gtid_slave_pos;
|
|||||||
#--query_vertical SHOW SLAVE STATUS;
|
#--query_vertical SHOW SLAVE STATUS;
|
||||||
|
|
||||||
--connection node_4
|
--connection node_4
|
||||||
--replace_result $NODE_MYPORT_1 NODE_MYPORT_1
|
--echo --- ignore_server_ids=(22,23)
|
||||||
|
--disable_query_log
|
||||||
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_1, master_use_gtid=current_pos, ignore_server_ids=(22,23);
|
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_1, master_use_gtid=current_pos, ignore_server_ids=(22,23);
|
||||||
|
--enable_query_log
|
||||||
start slave;
|
start slave;
|
||||||
--source include/wait_for_slave_to_start.inc
|
--source include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -210,8 +214,10 @@ set global wsrep_on=ON;
|
|||||||
# Then we will kill node D and set up the replication between A and E
|
# Then we will kill node D and set up the replication between A and E
|
||||||
# To see whether fail over works or not.
|
# To see whether fail over works or not.
|
||||||
--connection node_1
|
--connection node_1
|
||||||
--replace_result $NODE_MYPORT_6 NODE_MYPORT_6
|
--echo --- ignore_server_ids=(12,13)
|
||||||
|
--disable_query_log
|
||||||
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_6, master_use_gtid=current_pos, ignore_server_ids=(12,13);
|
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_6, master_use_gtid=current_pos, ignore_server_ids=(12,13);
|
||||||
|
--enable_query_log
|
||||||
start slave;
|
start slave;
|
||||||
--source include/wait_for_slave_to_start.inc
|
--source include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
@@ -219,8 +225,10 @@ select @@gtid_slave_pos;
|
|||||||
#--query_vertical SHOW SLAVE STATUS;
|
#--query_vertical SHOW SLAVE STATUS;
|
||||||
|
|
||||||
--connection node_4
|
--connection node_4
|
||||||
--replace_result $NODE_MYPORT_3 NODE_MYPORT_3
|
--echo --- ignore_server_ids=(22,23)
|
||||||
|
--disable_query_log
|
||||||
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_3, master_use_gtid=current_pos, ignore_server_ids=(22,23);
|
--eval change master to master_host='127.0.0.1', master_user='root', master_port=$NODE_MYPORT_3, master_use_gtid=current_pos, ignore_server_ids=(22,23);
|
||||||
|
--enable_query_log
|
||||||
start slave;
|
start slave;
|
||||||
--source include/wait_for_slave_to_start.inc
|
--source include/wait_for_slave_to_start.inc
|
||||||
select @@gtid_binlog_state;
|
select @@gtid_binlog_state;
|
||||||
|
@@ -9,21 +9,21 @@ return wsrep_not_ok() if wsrep_not_ok();
|
|||||||
|
|
||||||
push @::global_suppressions,
|
push @::global_suppressions,
|
||||||
(
|
(
|
||||||
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
|
qr(WSREP: wsrep_sst_receive_address is set to '127\.0\.0\.1),
|
||||||
qr(WSREP: Could not open saved state file for reading: .*),
|
qr(WSREP: Could not open saved state file for reading: .*),
|
||||||
qr(WSREP: Could not open state file for reading: .*),
|
qr(WSREP: Could not open state file for reading: .*),
|
||||||
qr(WSREP: Gap in state sequence. Need state transfer.),
|
qr(WSREP: Gap in state sequence. Need state transfer\.),
|
||||||
qr(WSREP: Failed to prepare for incremental state transfer:),
|
qr(WSREP: Failed to prepare for incremental state transfer:),
|
||||||
qr(WSREP:.*down context.*),
|
qr(WSREP: .*down context.*),
|
||||||
qr(WSREP: Failed to send state UUID:),
|
qr(WSREP: Failed to send state UUID:),
|
||||||
qr(WSREP: last inactive check more than .* skipping check),
|
qr(WSREP: last inactive check more than .* skipping check),
|
||||||
qr(WSREP: SQL statement was ineffective),
|
qr(WSREP: SQL statement was ineffective),
|
||||||
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned.),
|
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned\.),
|
||||||
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
||||||
qr(WSREP: Quorum: No node with complete state),
|
qr(WSREP: Quorum: No node with complete state),
|
||||||
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
||||||
qr|WSREP: discarding established \(time wait\) .*|,
|
qr|WSREP: discarding established \(time wait\).*|,
|
||||||
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside. Will use that one.),
|
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside\. Will use that one\.),
|
||||||
qr(WSREP: evs::proto.*),
|
qr(WSREP: evs::proto.*),
|
||||||
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
||||||
qr(WSREP: no nodes coming from prim view, prim not possible),
|
qr(WSREP: no nodes coming from prim view, prim not possible),
|
||||||
@@ -31,16 +31,16 @@ push @::global_suppressions,
|
|||||||
qr(WSREP: user message in state LEAVING),
|
qr(WSREP: user message in state LEAVING),
|
||||||
qr(WSREP: .* sending install message failed: Transport endpoint is not connected),
|
qr(WSREP: .* sending install message failed: Transport endpoint is not connected),
|
||||||
qr(WSREP: .* sending install message failed: Resource temporarily unavailable),
|
qr(WSREP: .* sending install message failed: Resource temporarily unavailable),
|
||||||
qr(WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\). Will retry in new primary component.),
|
qr(WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\)\. Will retry in new primary component\.),
|
||||||
qr(WSREP: Could not find peer:),
|
qr(WSREP: Could not find peer:),
|
||||||
qr|WSREP: gcs_caused\(\) returned .*|,
|
qr|WSREP: gcs_caused\(\) returned .*|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(SYNCED\)\. Message ignored\.|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(JOINED\)\. Message ignored\.|,
|
||||||
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
||||||
qr|WSREP: .*core_handle_uuid_msg.*|,
|
qr|WSREP: .*core_handle_uuid_msg.*|,
|
||||||
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0\. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
||||||
qr(WSREP: JOIN message from member .* in non-primary configuration. Ignored.),
|
qr(WSREP: JOIN message from member .* in non-primary configuration\. Ignored\.),
|
||||||
);
|
);
|
||||||
|
|
||||||
bless { };
|
bless { };
|
||||||
|
@@ -9,20 +9,20 @@ return wsrep_not_ok() if wsrep_not_ok();
|
|||||||
|
|
||||||
push @::global_suppressions,
|
push @::global_suppressions,
|
||||||
(
|
(
|
||||||
qr(WSREP: wsrep_sst_receive_address is set to '127.0.0.1),
|
qr(WSREP: wsrep_sst_receive_address is set to '127\.0\.0\.1),
|
||||||
qr(WSREP: Could not open saved state file for reading: .*),
|
qr(WSREP: Could not open saved state file for reading: .*),
|
||||||
qr(WSREP: Could not open state file for reading: .*),
|
qr(WSREP: Could not open state file for reading: .*),
|
||||||
qr(WSREP: Gap in state sequence. Need state transfer.),
|
qr(WSREP: Gap in state sequence\. Need state transfer\.),
|
||||||
qr(WSREP: Failed to prepare for incremental state transfer:),
|
qr(WSREP: Failed to prepare for incremental state transfer:),
|
||||||
qr(WSREP:.*down context.*),
|
qr(WSREP: .*down context.*),
|
||||||
qr(WSREP: Failed to send state UUID:),
|
qr(WSREP: Failed to send state UUID:),
|
||||||
qr(WSREP: last inactive check more than .* skipping check),
|
qr(WSREP: last inactive check more than .* skipping check),
|
||||||
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned.),
|
qr(WSREP: Releasing seqno [0-9]* before [0-9]* was assigned\.),
|
||||||
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
qr|WSREP: access file\(.*gvwstate.dat\) failed\(No such file or directory\)|,
|
||||||
qr(WSREP: Quorum: No node with complete state),
|
qr(WSREP: Quorum: No node with complete state),
|
||||||
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
qr(WSREP: Initial position was provided by configuration or SST, avoiding override),
|
||||||
qr|WSREP: discarding established \(time wait\) .*|,
|
qr|WSREP: discarding established \(time wait\) .*|,
|
||||||
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside. Will use that one.),
|
qr(WSREP: There are no nodes in the same segment that will ever be able to become donors, yet there is a suitable donor outside\. Will use that one\.),
|
||||||
qr(WSREP: evs::proto.*),
|
qr(WSREP: evs::proto.*),
|
||||||
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
qr|WSREP: Ignoring possible split-brain \(allowed by configuration\) from view:.*|,
|
||||||
qr(WSREP: no nodes coming from prim view, prim not possible),
|
qr(WSREP: no nodes coming from prim view, prim not possible),
|
||||||
@@ -45,26 +45,28 @@ push @::global_suppressions,
|
|||||||
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
qr(WSREP: .*Failed to open channel 'my_wsrep_cluster' at .*),
|
||||||
qr(WSREP: gcs connect failed: Connection timed out),
|
qr(WSREP: gcs connect failed: Connection timed out),
|
||||||
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
qr|WSREP: wsrep::connect\(.*\) failed: 7|,
|
||||||
qr(WSREP: SYNC message from member .* in non-primary configuration. Ignored.),
|
qr(WSREP: SYNC message from member .* in non-primary configuration\. Ignored\.),
|
||||||
qr(WSREP: Could not find peer:),
|
qr(WSREP: Could not find peer:),
|
||||||
qr(WSREP: TO isolation failed for: .*),
|
qr(WSREP: TO isolation failed for: .*),
|
||||||
qr|WSREP: gcs_caused\(\) returned .*|,
|
qr|WSREP: gcs_caused\(\) returned .*|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(SYNCED\). Message ignored\.|,
|
||||||
qr|WSREP: Protocol violation. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored.|,
|
qr|WSREP: Protocol violation\. JOIN message sender .* is not in state transfer \(JOINED\). Message ignored\.|,
|
||||||
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled. Expect abort.|,
|
qr|WSREP: Unsupported protocol downgrade: incremental data collection disabled\. Expect abort\.|,
|
||||||
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
qr(WSREP: Last Applied Action message in non-primary configuration from member [0-9]*),
|
||||||
qr(WSREP: discarding established .*),
|
qr(WSREP: discarding established .*),
|
||||||
qr|WSREP: .*core_handle_uuid_msg.*|,
|
qr|WSREP: .*core_handle_uuid_msg.*|,
|
||||||
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
qr(WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0\. WSREP_SYNC_WAIT_BEFORE_READ is on),
|
||||||
qr|WSREP: JOIN message from member .* in non-primary configuration. Ignored.|,
|
qr|WSREP: JOIN message from member .* in non-primary configuration\. Ignored\.|,
|
||||||
qr|Query apply failed:*|,
|
qr|WSREP: .*Query apply failed:.*|,
|
||||||
qr(WSREP: Ignoring error*),
|
qr(WSREP: Ignoring error.*),
|
||||||
qr(WSREP: Failed to remove page file .*),
|
qr(WSREP: Failed to remove page file .*),
|
||||||
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
qr(WSREP: wsrep_sst_method is set to 'mysqldump' yet mysqld bind_address is set to .*),
|
||||||
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\). Will retry in new primary component.|,
|
qr|WSREP: Sending JOIN failed: -107 \(Transport endpoint is not connected\)\. Will retry in new primary component\.|,
|
||||||
|
qr|WSREP: Send action \{.* STATE_REQUEST\} returned -107 \(Transport endpoint is not connected\)|,
|
||||||
qr|WSREP: Trying to continue unpaused monitor|,
|
qr|WSREP: Trying to continue unpaused monitor|,
|
||||||
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
qr|WSREP: Wait for gtid returned error 3 while waiting for prior transactions to commit before setting position|,
|
||||||
|
qr|WSREP: Failed to report last committed|,
|
||||||
);
|
);
|
||||||
|
|
||||||
bless { };
|
bless { };
|
||||||
|
Reference in New Issue
Block a user