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

Change retry type for Google Clients to async ones where needed #36141

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Dec 9, 2023

Google Dataflow Clientss, implemented bugfixes where retry type was changed to async where async was used:
This caused our canary builds to fail.

We changed all the places where retry is Async now and bumped min version of the clients:

  • "google-cloud-bigquery-datatransfer>=3.13.0"
  • "google-cloud-build>=3.22.0"
  • "google-cloud-dataflow-client>=0.8.6"
  • "google-cloud-dataplex>=1.10.0"
  • "google-cloud-dataproc>=5.8.0"
  • "google-cloud-orchestration-airflow>=1.10.0"

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:google Google (including GCP) related issues labels Dec 9, 2023
@potiuk
Copy link
Member Author

potiuk commented Dec 9, 2023

Needs few more libraries and more complete/selective use of AsyncRetry - seems the fixes were applied to a number of Google clients.

@potiuk potiuk force-pushed the fix-retry-parameter-type-dataproc branch from c12c8c6 to a43fbba Compare December 9, 2023 16:06
@potiuk
Copy link
Member Author

potiuk commented Dec 9, 2023

Right .. That one should be green (and I believe good for RC2 of google provider).

@potiuk potiuk changed the title Change retry type for Google Dataflow Client to async one Change retry type for Google Clients to async ones Dec 9, 2023
@potiuk potiuk changed the title Change retry type for Google Clients to async ones Change retry type for Google Clients to async ones where needed Dec 9, 2023
@potiuk potiuk force-pushed the fix-retry-parameter-type-dataproc branch from a43fbba to 0d0a25a Compare December 9, 2023 16:51
@potiuk
Copy link
Member Author

potiuk commented Dec 9, 2023

OK. I found one more edge case in the new "provider verification" a fix to that will follow - then we will be able to merge it when It is merged.

The problem is that if we bump a provider version and current constraints do not have it, we will not be able to install those new providers with old constraints. But there is a way to fix it.

@potiuk
Copy link
Member Author

potiuk commented Dec 9, 2023

Fix in #36143

@potiuk potiuk force-pushed the fix-retry-parameter-type-dataproc branch from 0d0a25a to e446d75 Compare December 9, 2023 19:12
Google Dataflow Client 0.8.6 implemented bugfix where retry type
was changed to async. This caused our canary builds to fail.

We change the client to Async now and bump min version of the
client to 0.8.6.
@potiuk potiuk force-pushed the fix-retry-parameter-type-dataproc branch from e446d75 to 6c24a9f Compare December 9, 2023 20:19
@potiuk potiuk requested review from ashb and kaxil as code owners December 9, 2023 20:19
@potiuk
Copy link
Member Author

potiuk commented Dec 9, 2023

The fix worked :). and even had a follow-up. Merging it.

@potiuk potiuk merged commit 8d0c5d9 into apache:main Dec 9, 2023
76 checks passed
@potiuk potiuk deleted the fix-retry-parameter-type-dataproc branch December 9, 2023 21:14
potiuk added a commit that referenced this pull request Dec 15, 2023
Google Dataflow Client 0.8.6 implemented bugfix where retry type
was changed to async. This caused our canary builds to fail.

We change the client to Async now and bump min version of the
client to 0.8.6.

(cherry picked from commit 8d0c5d9)
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) provider:google Google (including GCP) related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants