mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-26 16:38:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| connection node_2;
 | |
| connection node_1;
 | |
| connection node_1;
 | |
| CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
 | |
| SET GLOBAL wsrep_desync=1;
 | |
| SET wsrep_OSU_method=RSU;
 | |
| SET DEBUG_SYNC = 'alter_table_before_open_tables WAIT_FOR continue';
 | |
| ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
 | |
| connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
 | |
| connect node_1b, 127.0.0.1, root, , test, $NODE_MYPORT_1;
 | |
| connection node_1a;
 | |
| SET GLOBAL wsrep_desync=0;
 | |
| SET DEBUG_SYNC= 'now SIGNAL continue';
 | |
| connection node_1;
 | |
| SHOW CREATE TABLE t1;
 | |
| Table	Create Table
 | |
| t1	CREATE TABLE `t1` (
 | |
|   `f1` int(11) DEFAULT NULL,
 | |
|   `f2` int(11) DEFAULT NULL
 | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| SHOW VARIABLES LIKE 'wsrep_desync';
 | |
| Variable_name	Value
 | |
| wsrep_desync	OFF
 | |
| SET wsrep_OSU_method=TOI;
 | |
| DROP TABLE t1;
 | |
| SET DEBUG_SYNC= 'RESET';
 | |
| connection node_1;
 | |
| CREATE TABLE t1 (f1 INTEGER) Engine=InnoDB;
 | |
| SET GLOBAL wsrep_desync=0;
 | |
| Warnings:
 | |
| Warning	1231	'wsrep_desync' is already OFF.
 | |
| SET wsrep_OSU_method=RSU;
 | |
| SET DEBUG_SYNC = 'alter_table_before_create_table_no_lock WAIT_FOR continue';
 | |
| ALTER TABLE t1 ADD COLUMN f2 INTEGER;;
 | |
| connection node_1a;
 | |
| SET GLOBAL wsrep_desync=1;;
 | |
| connection node_1b;
 | |
| SET DEBUG_SYNC= 'now SIGNAL continue';
 | |
| connection node_1;
 | |
| connection node_1a;
 | |
| SET GLOBAL wsrep_desync=0;
 | |
| SHOW CREATE TABLE t1;
 | |
| Table	Create Table
 | |
| t1	CREATE TABLE `t1` (
 | |
|   `f1` int(11) DEFAULT NULL,
 | |
|   `f2` int(11) DEFAULT NULL
 | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
 | |
| SET wsrep_OSU_method=TOI;
 | |
| DROP TABLE t1;
 | |
| SET DEBUG_SYNC= 'RESET';
 | |
| CALL mtr.add_suppression("Protocol violation");
 | |
| CALL mtr.add_suppression("desync failed");
 | |
| connection node_2;
 | |
| CALL mtr.add_suppression("Protocol violation");
 | 
