mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 c71dc39529
			
		
	
	
	c71dc39529
	
	
	
		
			
			- Fix to avoid mysqltest client getting killed abruptly during mysql_shutdown(). When Galera replication is shutdown, wait for THDs with `thd->stmt_da()->is_eof()` to disconnect (these are about to disconnect anyway). - Extract duplicate code from `wsrep_stop_replication()` and `wsrep_shutdown_replication()` in a new function. - No need to use a custom `shutdown_mysqld.inc` in galera suite. Delete it, so that the one in `mysql-test/include/` is used. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			499 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #
 | |
| # MDEV-26499
 | |
| #
 | |
| # This test reproduces some failure on mysql_shutdown() call
 | |
| # which manifests sporadically in some galera MTR tests during
 | |
| # restart of a node.
 | |
| #
 | |
| 
 | |
| --source include/galera_cluster.inc
 | |
| --source include/have_debug_sync.inc
 | |
| 
 | |
| --let $node_1=node_1
 | |
| --let $node_2=node_2
 | |
| --source include/auto_increment_offset_save.inc
 | |
| 
 | |
| --connection node_2
 | |
| SET GLOBAL debug_dbug="+d,simulate_slow_client_at_shutdown";
 | |
| --source include/restart_mysqld.inc
 | |
| 
 | |
| --source include/auto_increment_offset_restore.inc
 |