mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-27161: Add option for SQL thread to limit maximum execution time per query replicated
New Feature: ============ This patch adds a new system variable, @@slave_max_statement_time, which limits the execution time of s slave’s events that implements an equivalent to @@max_statement_time for slave applier. Reviewed By: ============ Andrei Elkin <andrei.elkin@mariadb.com>
This commit is contained in:
committed by
Andrei
parent
7864d955f3
commit
360d99429c
@@ -1223,6 +1223,11 @@ The following specify which files/extra groups are read (specified before remain
|
||||
--slave-max-allowed-packet=#
|
||||
The maximum packet length to sent successfully from the
|
||||
master to slave.
|
||||
--slave-max-statement-time=#
|
||||
A query that has taken more than slave_max_statement_time
|
||||
seconds to run on the slave will be aborted. The argument
|
||||
will be treated as a decimal value with microsecond
|
||||
precision. A value of 0 (default) means no timeout
|
||||
--slave-net-timeout=#
|
||||
Number of seconds to wait for more data from any
|
||||
master/slave connection before aborting the read
|
||||
@@ -1800,6 +1805,7 @@ slave-ddl-exec-mode IDEMPOTENT
|
||||
slave-domain-parallel-threads 0
|
||||
slave-exec-mode STRICT
|
||||
slave-max-allowed-packet 1073741824
|
||||
slave-max-statement-time 0
|
||||
slave-net-timeout 60
|
||||
slave-parallel-max-queued 131072
|
||||
slave-parallel-mode conservative
|
||||
|
Reference in New Issue
Block a user