Skip to content

Conversation

@xchwan
Copy link
Contributor

@xchwan xchwan commented Sep 10, 2025

Fix Too many requests #47950
To handle this issue, we may add exponential back-off follow _get_sp_token function in databricks hook. After adding the exponential back-off, the check function will retry when 429 happened.


^ 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 airflow-core/newsfragments.

Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
@Lee-W Lee-W requested review from Lee-W and jason810496 September 10, 2025 15:46
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the PR!

Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
Signed-off-by: Xch1 <qchwan@gmail.com>
@xchwan xchwan requested review from Lee-W and jason810496 September 11, 2025 05:52
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for the update!
I will wait for Wei Lee to confirm on the exception usage.

Signed-off-by: Xch1 <qchwan@gmail.com>
@Lee-W Lee-W changed the title Metadata service check handle 429 Handle "Too Many Request" for Azure Instance Metadata Service Sep 16, 2025
@Lee-W Lee-W merged commit a7f4509 into apache:main Sep 16, 2025
78 checks passed
suman-himanshu pushed a commit to suman-himanshu/airflow that referenced this pull request Sep 17, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants