Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade MySQL to 8.0.40 #653

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/apis/planetscale/v2/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const (
DefaultMysqlPortName = "mysql"

defaultVitessLiteImage = "vitess/lite:latest"
defaultMySQLImage = "mysql:8.0.30"
defaultMySQLImage = "mysql:8.0.40"

DefaultInitCPURequestMillis = 100
DefaultInitMemoryRequestBytes = 32 * (1 << 20) // 32 MiB
Expand Down Expand Up @@ -136,7 +136,7 @@ var DefaultImages = &VitessImages{
Mysql80Compatible: defaultMySQLImage,
},

MysqldExporter: "prom/mysqld-exporter:v0.11.0",
MysqldExporter: "prom/mysqld-exporter:v0.14.0",
}

var (
Expand Down
2 changes: 1 addition & 1 deletion pkg/operator/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

var (
reconcileTimeout time.Duration
MySQLServerVersion = "8.0.30-Vitess"
MySQLServerVersion = "8.0.40-Vitess"
// truncateUILen truncate queries in debug UIs to the given length. 0 means unlimited.
truncateUILen = 512
// truncateErrLen truncate queries in error logs to the given length. 0 means unlimited.
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/101_initial_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
vtorc: vitess/lite:v21.0.0
vtbackup: vitess/lite:v21.0.0
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/101_initial_cluster_autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/101_initial_cluster_backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
vtbackup: vitess/lite:latest
vtorc: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/101_initial_cluster_vtorc_vtadmin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
vtbackup: vitess/lite:latest
vtorc: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/102_keyspace_teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/201_customer_tablets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/302_new_shards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/306_down_shard_0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/cluster_autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
4 changes: 2 additions & 2 deletions test/endtoend/operator/cluster_upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.30
mysqldExporter: prom/mysqld-exporter:v0.11.0
mysql80Compatible: mysql:8.0.40
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
gateway:
Expand Down
Loading