mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 18:36:12 +01:00 
			
		
		
		
	 603afc82d2
			
		
	
	
	603afc82d2
	
	
	
		
			
			This bug fix prevents debug assertion failure when Galera feature retry applying is enabled. This patch introduces also a general mechanism for temporarily disabling some debug assertions in InnoDB code. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			731 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			731 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| connection node_2;
 | |
| connection node_1;
 | |
| CALL mtr.add_suppression("Event .* Update_rows.* apply failed");
 | |
| CALL mtr.add_suppression("mariadbd: Can't find record in 't1'");
 | |
| CALL mtr.add_suppression("Failed to apply write set.*");
 | |
| CALL mtr.add_suppression("Inconsistency detected");
 | |
| connection node_1;
 | |
| CREATE TABLE t1 (f1 INTEGER);
 | |
| INSERT INTO t1 VALUES (1);
 | |
| connection node_2;
 | |
| SET SESSION wsrep_on = OFF;
 | |
| DELETE FROM t1;
 | |
| SET SESSION wsrep_on = ON;
 | |
| SET GLOBAL wsrep_applier_retry_count=1;
 | |
| connection node_1;
 | |
| UPDATE t1 SET f1 = f1 + 1;
 | |
| connection node_2;
 | |
| Shutting down server ...
 | |
| SET wsrep_on=OFF;
 | |
| Restarting server ...
 | |
| connection node_1;
 | |
| SET wsrep_sync_wait=0;
 | |
| connection node_1;
 | |
| SET GLOBAL wsrep_applier_retry_count = 0;
 | |
| DROP TABLE t1;
 |