mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
connection node_2;
 | 
						|
connection node_1;
 | 
						|
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
 | 
						|
call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use ");
 | 
						|
call mtr.add_suppression("WSREP has not yet prepared node for application use");
 | 
						|
connection node_1;
 | 
						|
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
 | 
						|
SET GLOBAL wsrep_provider_options='gmcast.isolate=1';
 | 
						|
SET SESSION wsrep_on = OFF;
 | 
						|
SET SESSION wsrep_on = ON;
 | 
						|
SET global wsrep_sync_wait=0;
 | 
						|
connection node_3;
 | 
						|
SELECT @@wsrep_on;
 | 
						|
@@wsrep_on
 | 
						|
0
 | 
						|
call mtr.add_suppression("Error reading packet from server: WSREP has not yet prepared node for application use \\(server_errno ?= ?1047\\)");
 | 
						|
START SLAVE;
 | 
						|
include/wait_for_slave_param.inc [Slave_IO_Running]
 | 
						|
connection node_1;
 | 
						|
SET GLOBAL wsrep_provider_options='gmcast.isolate=0';
 | 
						|
connection node_3;
 | 
						|
include/wait_for_slave_to_start.inc
 | 
						|
connection node_1;
 | 
						|
INSERT INTO t1 VALUES (1);
 | 
						|
connection node_3;
 | 
						|
connection node_1;
 | 
						|
DROP TABLE t1;
 | 
						|
SET global wsrep_sync_wait=15;
 | 
						|
connection node_3;
 | 
						|
STOP SLAVE;
 | 
						|
RESET SLAVE ALL;
 | 
						|
CALL mtr.add_suppression('failed registering on master');
 |