Skip to content

fix: bigtable - avoid instance recreation due to node_scaling_factor addition in 6.34.0 for existing clusters #13902

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

Merged
merged 2 commits into from
May 10, 2025

Conversation

shantstepanian
Copy link
Contributor

@shantstepanian shantstepanian commented May 9, 2025

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

bigtable: fixed forced instance recreation due to addition of `cluster.node_scaling_factor` for `google_bigtable_instance` in 6.34.0

Compatibility testing was executed manually to verify successful upgrades for instances created in 6.33.0 and 6.34.0

@github-actions github-actions bot requested a review from roaks3 May 9, 2025 22:25
Copy link

github-actions bot commented May 9, 2025

Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs.

@roaks3, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@hao-nan-li hao-nan-li requested review from zli82016 and hao-nan-li and removed request for roaks3 May 9, 2025 22:25
@hao-nan-li
Copy link
Contributor

b/416770785

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 1 file changed, 2 insertions(+))
google-beta provider: Diff ( 1 file changed, 2 insertions(+))

@modular-magician modular-magician requested a review from ron-gal May 9, 2025 22:37
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 58
Passed tests: 0
Skipped tests: 58
Affected tests: 0

Click here to see the affected service packages
  • bigtable

🟢 All tests passed!

View the build log

@zli82016
Copy link
Member

zli82016 commented May 9, 2025

The unit test failed

 --- FAIL: TestUnitBigtable_flattenBigtableCluster (0.00s)
    resource_bigtable_instance_internal_test.go:200: bad: SSD auto scaling, got map["autoscaling_config":[map["cpu_target":'2' "max_nodes":'\a' "min_nodes":'\x03' "storage_target":'<']] "cluster_id":"ssd-cluster" "kms_key_name":"KMS" "node_scaling_factor":"NodeScalingFactor1X" "num_nodes":'\x05' "state":"CREATING" "storage_type":"SSD" "zone":"zone1"], want map["autoscaling_config":[map["cpu_target":'2' "max_nodes":'\a' "min_nodes":'\x03' "storage_target":'<']] "cluster_id":"ssd-cluster" "kms_key_name":"KMS" "node_scaling_factor":"" "num_nodes":'\x05' "state":"CREATING" "storage_type":"SSD" "zone":"zone1"]

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 2 files changed, 4 insertions(+), 2 deletions(-))
google-beta provider: Diff ( 2 files changed, 4 insertions(+), 2 deletions(-))

@modular-magician modular-magician requested a review from ron-gal May 9, 2025 23:07
@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 58
Passed tests: 0
Skipped tests: 58
Affected tests: 0

Click here to see the affected service packages
  • bigtable

🟢 All tests passed!

View the build log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants