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

MM-57261: Use a valid database engine version for MySQL #710

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

agarciamontoro
Copy link
Member

@agarciamontoro agarciamontoro commented Mar 14, 2024

Summary

According to the describe-db-engine-versions subcommand of the aws cli (the source of truth for the valid versions), the only patch version for 3.05 is 3.05.2, but we're upgrading to the newer 3.06 nonetheless:

> aws --profile=mm-loadtest rds describe-db-engine-versions --engine aurora-mysql | jq '.DBEngineVersions[].EngineVersion'
"5.7.mysql_aurora.2.07.9"
"5.7.mysql_aurora.2.07.10"
"5.7.mysql_aurora.2.11.1"
"5.7.mysql_aurora.2.11.2"
"5.7.mysql_aurora.2.11.3"
"5.7.mysql_aurora.2.11.4"
"5.7.mysql_aurora.2.11.4"
"5.7.mysql_aurora.2.12.0"
"5.7.mysql_aurora.2.12.1"
"8.0.mysql_aurora.3.01.0"
"8.0.mysql_aurora.3.01.1"
"8.0.mysql_aurora.3.02.0"
"8.0.mysql_aurora.3.02.1"
"8.0.mysql_aurora.3.02.2"
"8.0.mysql_aurora.3.02.3"
"8.0.mysql_aurora.3.03.0"
"8.0.mysql_aurora.3.03.1"
"8.0.mysql_aurora.3.03.2"
"8.0.mysql_aurora.3.03.3"
"8.0.mysql_aurora.3.04.0"
"8.0.mysql_aurora.3.04.1"
"8.0.mysql_aurora.3.04.2"
"8.0.mysql_aurora.3.05.2"
"8.0.mysql_aurora.3.06.0"

Ticket Link

https://mattermost.atlassian.net/browse/MM-57261

According to the describe-db-engine-versions subcommand of the aws cli,
the only patch version for 3.05 is 3.05.2, but we're upgrading to the
newer 3.06 nonetheless:
  > aws --profile=mm-loadtest rds describe-db-engine-versions --engine aurora-mysql | jq '.DBEngineVersions[].EngineVersion'
  "5.7.mysql_aurora.2.07.9"
  "5.7.mysql_aurora.2.07.10"
  "5.7.mysql_aurora.2.11.1"
  "5.7.mysql_aurora.2.11.2"
  "5.7.mysql_aurora.2.11.3"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.12.0"
  "5.7.mysql_aurora.2.12.1"
  "8.0.mysql_aurora.3.01.0"
  "8.0.mysql_aurora.3.01.1"
  "8.0.mysql_aurora.3.02.0"
  "8.0.mysql_aurora.3.02.1"
  "8.0.mysql_aurora.3.02.2"
  "8.0.mysql_aurora.3.02.3"
  "8.0.mysql_aurora.3.03.0"
  "8.0.mysql_aurora.3.03.1"
  "8.0.mysql_aurora.3.03.2"
  "8.0.mysql_aurora.3.03.3"
  "8.0.mysql_aurora.3.04.0"
  "8.0.mysql_aurora.3.04.1"
  "8.0.mysql_aurora.3.04.2"
  "8.0.mysql_aurora.3.05.2"
  "8.0.mysql_aurora.3.06.0"
@agarciamontoro agarciamontoro added the 2: Dev Review Requires review by a core committer label Mar 14, 2024
@@ -54,7 +54,7 @@ variable "db_cluster_identifier" {
variable "db_engine_version" {
type = map(any)
default = {
"aurora-mysql" = "8.0.mysql_aurora.3.05.0"
"aurora-mysql" = "8.0.mysql_aurora.3.06.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use 3.05.2 instead? The idea was to use the same MySQL patch version as our min supported one which is 8.0.32.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, of course, hadn't thought of that. Let me change it.

MySQL minimum supported version is 8.0.32
Copy link
Contributor

@streamer45 streamer45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@agarciamontoro agarciamontoro added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Mar 14, 2024
@agarciamontoro
Copy link
Member Author

I'll test this, merge and cherry-pick to release-1.15

@agarciamontoro
Copy link
Member Author

DB correctly created with 3.05.2 version:
image

@agarciamontoro agarciamontoro merged commit c37cb62 into master Mar 14, 2024
1 check passed
@agarciamontoro agarciamontoro deleted the MM-57261.fix.mysql.version branch March 14, 2024 18:05
agarciamontoro added a commit that referenced this pull request Mar 14, 2024
* Use a valid database engine version for MySQL

According to the describe-db-engine-versions subcommand of the aws cli,
the only patch version for 3.05 is 3.05.2:
  > aws --profile=mm-loadtest rds describe-db-engine-versions --engine aurora-mysql | jq '.DBEngineVersions[].EngineVersion'
  "5.7.mysql_aurora.2.07.9"
  "5.7.mysql_aurora.2.07.10"
  "5.7.mysql_aurora.2.11.1"
  "5.7.mysql_aurora.2.11.2"
  "5.7.mysql_aurora.2.11.3"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.12.0"
  "5.7.mysql_aurora.2.12.1"
  "8.0.mysql_aurora.3.01.0"
  "8.0.mysql_aurora.3.01.1"
  "8.0.mysql_aurora.3.02.0"
  "8.0.mysql_aurora.3.02.1"
  "8.0.mysql_aurora.3.02.2"
  "8.0.mysql_aurora.3.02.3"
  "8.0.mysql_aurora.3.03.0"
  "8.0.mysql_aurora.3.03.1"
  "8.0.mysql_aurora.3.03.2"
  "8.0.mysql_aurora.3.03.3"
  "8.0.mysql_aurora.3.04.0"
  "8.0.mysql_aurora.3.04.1"
  "8.0.mysql_aurora.3.04.2"
  "8.0.mysql_aurora.3.05.2"
  "8.0.mysql_aurora.3.06.0"

* Use 3.05.2 to match our minimum supported version

MySQL minimum supported version is 8.0.32
agarciamontoro added a commit that referenced this pull request Mar 14, 2024
* Use a valid database engine version for MySQL

According to the describe-db-engine-versions subcommand of the aws cli,
the only patch version for 3.05 is 3.05.2:
  > aws --profile=mm-loadtest rds describe-db-engine-versions --engine aurora-mysql | jq '.DBEngineVersions[].EngineVersion'
  "5.7.mysql_aurora.2.07.9"
  "5.7.mysql_aurora.2.07.10"
  "5.7.mysql_aurora.2.11.1"
  "5.7.mysql_aurora.2.11.2"
  "5.7.mysql_aurora.2.11.3"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.11.4"
  "5.7.mysql_aurora.2.12.0"
  "5.7.mysql_aurora.2.12.1"
  "8.0.mysql_aurora.3.01.0"
  "8.0.mysql_aurora.3.01.1"
  "8.0.mysql_aurora.3.02.0"
  "8.0.mysql_aurora.3.02.1"
  "8.0.mysql_aurora.3.02.2"
  "8.0.mysql_aurora.3.02.3"
  "8.0.mysql_aurora.3.03.0"
  "8.0.mysql_aurora.3.03.1"
  "8.0.mysql_aurora.3.03.2"
  "8.0.mysql_aurora.3.03.3"
  "8.0.mysql_aurora.3.04.0"
  "8.0.mysql_aurora.3.04.1"
  "8.0.mysql_aurora.3.04.2"
  "8.0.mysql_aurora.3.05.2"
  "8.0.mysql_aurora.3.06.0"

* Use 3.05.2 to match our minimum supported version

MySQL minimum supported version is 8.0.32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants