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

Feature: MySQL Flex Server Auto IOPS Scaling #23391

Conversation

Siddarthyuvaraj
Copy link

No description provided.

Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

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

Hey @Siddarthyuvaraj, this looks good but the tests are failing due to missing attributes. I've detailed more down below

@@ -989,6 +990,7 @@ resource "azurerm_mysql_flexible_server" "test" {
size_gb = %d
iops = %d
auto_grow_enabled = %t
iops_auto_scaling = %t
}
}
`, r.template(data), data.RandomInteger, sizeGB, iops, enabled)
Copy link
Member

Choose a reason for hiding this comment

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

This test is failing as it's missing an argument down below

Suggested change
`, r.template(data), data.RandomInteger, sizeGB, iops, enabled)
`, r.template(data), data.RandomInteger, sizeGB, iops, enabled, enabled)

@@ -989,6 +990,7 @@ resource "azurerm_mysql_flexible_server" "test" {
size_gb = %d
iops = %d
auto_grow_enabled = %t
iops_auto_scaling = %t
Copy link
Member

Choose a reason for hiding this comment

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

This isn't lined up properly

Suggested change
iops_auto_scaling = %t
iops_auto_scaling = %t

@@ -704,6 +704,7 @@ resource "azurerm_mysql_flexible_server" "test" {
size_gb = 32
iops = 400
auto_grow_enabled = false
iops_auto_scaling = false
Copy link
Member

Choose a reason for hiding this comment

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

And here

Suggested change
iops_auto_scaling = false
iops_auto_scaling = false

@Siddarthyuvaraj
Copy link
Author

Hi @mbfrahry i have made the changes. Please run the tests and let me know if any further changes required from my end. Thank you.

@stephybun
Copy link
Member

Thanks for this PR @Siddarthyuvaraj.

Unfortunately we overlooked another PR that's already been opened to add this property. Since the other PR was opened earlier and is already in active review I'm going to close this one in favour of #23329.

Apologies for the confusion and thanks again for your contribution!

@stephybun stephybun closed this Sep 27, 2023
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants