1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-5289: master server starts slave parallel threads

Delay spawning parallel replication worker threads until a slave SQL
thread is running, and de-spawn them when the last SQL thread stops.

This is especially useful to avoid needless threads on a master in a
setup where same my.cnf is used on masters and slaves.
This commit is contained in:
Kristian Nielsen
2015-03-11 09:18:16 +01:00
parent a7fd11b31d
commit ed04c40b01
11 changed files with 116 additions and 53 deletions

View File

@ -0,0 +1,5 @@
# Use default setting for mysqld processes
!include include/default_mysqld.cnf
[mysqld.1]
slave_parallel_threads=20