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

Add TimeoutError to be a retryable error in databricks provider #43137

Conversation

rawwar
Copy link
Collaborator

@rawwar rawwar commented Oct 18, 2024

closes #43128

aiohttp.client_exception.ServerTimeoutError extends asyncio.exceptions.TimeoutError. Hence, used ServerTimeoutError when checking for type using isinstance. That should cover TimeoutError

@rawwar rawwar marked this pull request as ready for review October 18, 2024 02:47
@rawwar rawwar requested review from Lee-W and pankajkoti October 18, 2024 02:48
@rawwar
Copy link
Collaborator Author

rawwar commented Oct 18, 2024

@lucafurrer , FYI

Copy link
Member

@pankajkoti pankajkoti left a comment

Choose a reason for hiding this comment

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

If ServerTimeoutError extends TimeoutError, we should check for TimeoutError instead. It works the other way round than what we're saying the description🙂

@rawwar

This comment was marked as off-topic.

@pankajkoti pankajkoti merged commit 0de5587 into apache:main Oct 18, 2024
55 checks passed
@rawwar rawwar deleted the kalyan/providers/databricks/retryable_timeout_error branch October 18, 2024 07:57
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this pull request Oct 24, 2024
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
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.

Add TimeoutError to be a retryable error in databricks provider
3 participants