-
Notifications
You must be signed in to change notification settings - Fork 285
feat: add retry mechanism on dataflow completion #4914
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
feat: add retry mechanism on dataflow completion #4914
Conversation
|
@correiaafonso12 please do not raise dangling PRs. there should be a properly triaged (!) issue accompanying (=linked to) this. |
Added the original issue in the description. Omitted it initially as it is already closed due to the PR for the decision record. |
...est/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java
Outdated
Show resolved
Hide resolved
...est/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java
Outdated
Show resolved
Hide resolved
...est/java/org/eclipse/edc/connector/dataplane/framework/manager/DataPlaneManagerImplTest.java
Outdated
Show resolved
Hide resolved
|
@correiaafonso12 you can add me as a PR sponsor in the PR description |
820d0d4 to
163de68
Compare
163de68 to
534ea20
Compare
ndr-brt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What this PR changes/adds
Applies a retry mechanism in the
DataFlowManagerImplwhen processing theDataflow's COMPLETED and FAILED statesWhy it does that
After the data transfer, the
DataFlowtransitions to either COMPLETED or FAILED depending on whether the transfer succeeded or failed. In either case, the data plane notifies the control plane of the transfer outcome. If this notification fails, theDataFlowtransitions to its current state, causing the state machine manager to pick it up again and retry the process. Since there is no limit to the number of retries, this process could potentially continue forever.Further notes
Check this DR for more information: https://github.com/eclipse-edc/Connector/tree/main/docs/developer/decision-records/2025-03-17-retry-processor-on-dataflow-completion
Who will sponsor this feature?
@ndr-brt
Linked Issue(s)
Relates to #4860
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.