Turn mysql event scheduler off (#6640)

This commit is contained in:
Lucas Manuel Rodriguez
2022-07-13 13:50:58 -03:00
committed by GitHub
parent 75b956bcb9
commit 142f19f286
2 changed files with 8 additions and 9 deletions
-2
View File
@@ -12,7 +12,6 @@ services:
[
"mysqld",
"--datadir=/tmp/mysqldata",
"--event-scheduler=ON",
# These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it.
"--enforce-gtid-consistency=ON",
"--log-bin=bin.log",
@@ -38,7 +37,6 @@ services:
"--slow_query_log=1",
"--log_output=TABLE",
"--log-queries-not-using-indexes",
"--event-scheduler=ON",
"--innodb-file-per-table=OFF",
# These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it.
"--enforce-gtid-consistency=ON",
@@ -6,16 +6,17 @@ services:
platform: linux/x86_64
volumes:
- mysql-persistent-volume-replica-main:/tmp
command: [
command:
[
"mysqld",
"--datadir=/tmp/mysqldata-replica-main",
"--event-scheduler=ON",
# These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it.
"--enforce-gtid-consistency=ON",
"--log-bin=bin.log",
"--server-id=1",
"--server-id=1"
]
environment: &mysql-default-environment
environment:
&mysql-default-environment
MYSQL_ROOT_PASSWORD: toor
MYSQL_DATABASE: fleet
MYSQL_USER: fleet
@@ -29,18 +30,18 @@ services:
volumes:
- mysql-persistent-volume-replica-read:/tmp
# innodb-file-per-table=OFF gives ~20% speedup for test runs.
command: [
command:
[
"mysqld",
"--datadir=/tmp/mysqldata-replica-read",
"--slow_query_log=1",
"--log_output=TABLE",
"--log-queries-not-using-indexes",
"--event-scheduler=ON",
"--innodb-file-per-table=OFF",
# These 3 keys run MySQL with GTID consistency enforced to avoid issues with production deployments that use it.
"--enforce-gtid-consistency=ON",
"--log-bin=bin.log",
"--server-id=2",
"--server-id=2"
]
environment: *mysql-default-environment
ports: