34 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			780 B
		
	
	
	
		
			PHP
		
	
	
	
| # ==== Purpose ====
 | |
| #
 | |
| # Stop all slaves configured by rpl_init.inc and waits for the slave
 | |
| # threads to stop.
 | |
| #
 | |
| #
 | |
| # ==== Usage ====
 | |
| #
 | |
| # [--let $rpl_only_running_threads= 1]
 | |
| # [--let $rpl_debug= 1]
 | |
| # [--let $rpl_timeout= NUMBER]
 | |
| # --source include/rpl_stop_slaves.inc
 | |
| #
 | |
| # Parameters:
 | |
| #   $rpl_only_running_threads
 | |
| #     See include/stop_slave.inc
 | |
| #
 | |
| #   $slave_timeout
 | |
| #     Set the timeout when waiting for slave threads to stop.  See
 | |
| #     include/wait_for_slave_param.inc
 | |
| #
 | |
| #   $rpl_debug
 | |
| #     See include/rpl_init.inc
 | |
| 
 | |
| 
 | |
| --let $include_filename= rpl_stop_slaves.inc
 | |
| --source include/begin_include_file.inc
 | |
| 
 | |
| --let $rpl_source_file= include/stop_slave.inc
 | |
| --source include/rpl_for_each_slave.inc
 | |
| 
 | |
| --let $include_filename= rpl_stop_slaves.inc
 | |
| --source include/end_include_file.inc
 |