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

Bugfix: mitigate inheritence or long race condition between resource functions when clients have retries disabled #1090

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

manicminer
Copy link
Member

@manicminer manicminer commented Apr 27, 2023

Because clients are shared between different operations on resources, sometimes a client can have Retries disabled and this is inherited by another resource function. This aims to mitigate this by always trying to re-enable retries wherever they are temporarily disabled for polling etc.

Closes: #1083

(Linking the above issue since whilst this doesn't entirely mitigate the shared memory aspect, it should mitigate the particular case being reported in that issue)

…functions when clients have retries disabled
@manicminer manicminer added the bug label Apr 27, 2023
@manicminer manicminer added this to the v2.38.0 milestone Apr 27, 2023
@manicminer manicminer requested a review from a team April 27, 2023 21:31
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.

LGTM

@manicminer manicminer merged commit 3ac0b3a into main Apr 27, 2023
6 checks passed
@manicminer manicminer deleted the bugfix/client-retry-inheritence branch April 27, 2023 22:35
manicminer added a commit that referenced this pull request Apr 27, 2023
@github-actions
Copy link

This functionality has been released in v2.38.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 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.

Inconsistent provider retry behavior due to DisableRetries manipulation
2 participants