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

fix: catch exceptions in CompletableFutureRetryProcess #4477

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Sep 16, 2024

What this PR changes/adds

Catches exceptions that could happen in the CompletableFutureRetryProcess

Why it does that

avoid state machine entry to stale

Further notes

  • I'm not considering this PR a bugfix because the bug-ish behavior is in the component that throws an unexpected exception (according to the issue it would be AzureStorageDataSinkFactory). having the overarching component to handle it safely it is a new feature to the state machine retry process component that will prevent such potential bugs downstream.
  • improved behavior on StatusResultRetryProcess, that was treating the throwable as a "fatal error", but in fact it is better to consider it a generic failure because the exception could be temporary

Linked Issue(s)

Closes #4464

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt added the enhancement New feature or request label Sep 16, 2024
@ndr-brt ndr-brt merged commit 668d40e into eclipse-edc:main Sep 16, 2024
23 checks passed
@ndr-brt ndr-brt deleted the 4464-catch-exceptions branch September 16, 2024 10:41
ndr-brt added a commit to Think-iT-Labs/edc-connector that referenced this pull request Sep 25, 2024
ndr-brt added a commit that referenced this pull request Sep 25, 2024
* fix: catch exceptions in the StatusResultRetryProcess (#4458)

* fix: catch exceptions in CompletableFutureRetryProcess (#4477)

* dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dataplane manager is not handling exceptions thrown by DataSource/Sink factories during instance creation
2 participants