Skip to content
Draft
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
21 changes: 21 additions & 0 deletions docs/release-notes/2_16_0_summary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Major Changes

### Table of Contents

- **[Upgrade Path](#upgrade-path)**
- **[MySQL](#mysql-upgrade-path)**

### <a id="upgrade-path"/>Upgrade Path</a>

#### <a id="mysql-upgrade-path"/>MySQL</a>

With the latest version of Vitess (`v23.0.0`) the default MySQL version changed from `8.0.40` to `8.4.6`.

In order for you to correctly upgrade, there is a certain path to follow:

1. Add `innodb_fast_shutdown=0` to your extra cnf in your YAML file.
2. Apply this file.
3. Wait for all the pods to be healthy.
4. Then change your YAML file to use the new Docker Image (`mysql:8.4.6`).
5. Remove `innodb_fast_shutdown=0` from your extra cnf in your YAML file.
6. Apply this file.
2 changes: 1 addition & 1 deletion pkg/apis/planetscale/v2/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const (
DefaultMysqlPortName = "mysql"

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

DefaultInitCPURequestMillis = 100
DefaultInitMemoryRequestBytes = 32 * (1 << 20) // 32 MiB
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.40-Vitess"
MySQLServerVersion = "8.4.6-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
2 changes: 1 addition & 1 deletion test/endtoend/operator/101_initial_cluster_autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.40
mysql80Compatible: mysql:8.4.6
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
vtbackup: vitess/lite:latest
vtorc: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.40
mysql80Compatible: mysql:8.4.6
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
vtbackup: vitess/lite:latest
vtorc: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.40
mysql80Compatible: mysql:8.4.6
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
Expand Down
2 changes: 1 addition & 1 deletion test/endtoend/operator/102_keyspace_teardown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.40
mysql80Compatible: mysql:8.4.6
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
Expand Down
2 changes: 1 addition & 1 deletion test/endtoend/operator/cluster_autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
vtorc: vitess/lite:latest
vtbackup: vitess/lite:latest
mysqld:
mysql80Compatible: mysql:8.0.40
mysql80Compatible: mysql:8.4.6
mysqldExporter: prom/mysqld-exporter:v0.14.0
cells:
- name: zone1
Expand Down