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

Do not retry fatal errors #23040

Conversation

losipiuk
Copy link
Member

@losipiuk losipiuk commented Aug 14, 2024

Description

Sometimes we may know that retrying a task does not make sense.
We express this information via fatal flag in ErrorCode. If
TrinoException is observed with fatal error code query/task will not be
retried even if retry_policy is not NONE.

extracted from: #23019

Release notes

(X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

@cla-bot cla-bot bot added the cla-signed label Aug 14, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Aug 14, 2024
Sometimes we may know that retrying a task does not make sense.
We express this information via fatal flag in ErrorCode. If
TrinoException is observed with fatal error code query/task will not be
retried even if retry_policy is not NONE.
We are not able to retry commiting an iceberg transaction
@losipiuk losipiuk force-pushed the lukaszos/treat-iceberg-commit-error-as-fatal-error-5e452d branch from 80cd77a to 97b3956 Compare August 14, 2024 14:44
@losipiuk losipiuk merged commit a9876b5 into trinodb:master Aug 16, 2024
95 checks passed
@github-actions github-actions bot added this to the 455 milestone Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

2 participants