mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| connection node_2;
 | |
| connection node_1;
 | |
| call mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg\\(\\)");
 | |
| connection node_1;
 | |
| connection node_2;
 | |
| connection node_3;
 | |
| connection node_1;
 | |
| CREATE TABLE t1 (f1 INTEGER);
 | |
| SET SESSION wsrep_sync_wait=0;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
 | |
| connection node_2;
 | |
| SET SESSION wsrep_sync_wait=0;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
 | |
| connection node_3;
 | |
| SET SESSION wsrep_sync_wait=0;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
 | |
| connection node_2;
 | |
| SET GLOBAL wsrep_provider_options = 'pc.bootstrap=1';
 | |
| SHOW STATUS LIKE 'wsrep_cluster_size';
 | |
| Variable_name	Value
 | |
| wsrep_cluster_size	1
 | |
| SHOW STATUS LIKE 'wsrep_cluster_status';
 | |
| Variable_name	Value
 | |
| wsrep_cluster_status	Primary
 | |
| INSERT INTO t1 VALUES (1);
 | |
| connection node_2;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
 | |
| connection node_1;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
 | |
| connection node_3;
 | |
| SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
 | |
| connection node_1;
 | |
| SELECT COUNT(*) FROM t1;
 | |
| COUNT(*)
 | |
| 1
 | |
| connection node_2;
 | |
| SELECT COUNT(*) FROM t1;
 | |
| COUNT(*)
 | |
| 1
 | |
| connection node_3;
 | |
| SELECT COUNT(*) FROM t1;
 | |
| COUNT(*)
 | |
| 1
 | |
| DROP TABLE t1;
 | 
