Skip to content

Commit ed1a205

Browse files
committed
Revert MySQL default version back to 5.7.26
1 parent 5e32317 commit ed1a205

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Changelog.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4949
output Stackdrive compatible format.
5050
* Decrease `MASTER_CONNECT_RETRY` interval from 10 to 1 second.
5151
* Deprecate `TmpfsSize` because can be handled using `ExtraVolumes` and `ExtraMySQLVolumesMounts`.
52-
* Set default mysql to `5.7.29`.
5352
* Update cron documentation
5453
* Set InnoDB buffer parameter: `innodb_buffer_pool_instances` to `min(resources.limit.cpu,
5554
floor(innodb_buffer_pool_size/1G))` (see #502)

pkg/util/constants/constants.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,15 @@ const (
7878

7979
var (
8080
// MySQLDefaultVersion is the version for mysql that should be used
81-
MySQLDefaultVersion = semver.MustParse("5.7.29")
81+
MySQLDefaultVersion = semver.MustParse("5.7.26")
8282
// MySQLTagsToSemVer maps simple version to semver versions
8383
MySQLTagsToSemVer = map[string]string{
84-
"5.7": "5.7.29",
84+
"5.7": "5.7.26",
8585
}
8686
// MysqlImageVersions is a map of supported mysql version and their image
8787
MysqlImageVersions = map[string]string{
88+
// This version of mysql has a bug and doesn't work with the operator,
89+
// see: https://github.com/presslabs/mysql-operator/issues/509
8890
"5.7.29": "percona@sha256:d801123bbfaf750924f993f5c59189d144a93feb928b8aef95e541dd61c62881",
8991
// Percona:5.7.26 CentOS based image
9092
"5.7.26": "percona@sha256:713c1817615b333b17d0fbd252b0ccc53c48a665d4cfcb42178167435a957322",

0 commit comments

Comments
 (0)