Skip to content

feat(dps): implement suspend/resume cases#5709

Merged
ndr-brt merged 3 commits into
mainfrom
5707-dps-suspend-resume
May 6, 2026
Merged

feat(dps): implement suspend/resume cases#5709
ndr-brt merged 3 commits into
mainfrom
5707-dps-suspend-resume

Conversation

@ndr-brt

@ndr-brt ndr-brt commented Apr 28, 2026

Copy link
Copy Markdown
Member

What this PR changes/adds

Implements the suspension/resumption cases as detailed in the specs.

BREAKING CHANGE: a new data_address_owner BOOLEAN DEFAULT false column needs to be added to the edc_transfer_process table

Why it does that

DPS

Further notes

  • the "resume" related status now are: RESUMING, RESUMING_REQUESTED, RESUMED, we need 3 of them because there's a distinct way to handle resumption based on the fact that the transfer process "owns" the data address or not. the ownership is assigned based on the direction of the transfer: is owner if "PULL and PROVIDER" or "PUSH and CONSUMER". The ownership is assigned when the "prepare" or "start" DPS message returns: if the data address is returned there, the TP is the data address owner. This was the only way to assure this without giving the CP the knowledge about the data flow direction.
  • added a TransferProcessResumed event, to permit the DSP TCK to work correctly (in the case that the suspension/resumption is triggered by a "non owner of the data address"

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #5707

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 Apr 28, 2026
@ndr-brt ndr-brt force-pushed the 5707-dps-suspend-resume branch 6 times, most recently from 8a00718 to 702f118 Compare April 30, 2026 12:54
@ndr-brt ndr-brt added the breaking-change Will require manual intervention for version update label Apr 30, 2026
@ndr-brt ndr-brt force-pushed the 5707-dps-suspend-resume branch 6 times, most recently from 3b87811 to 0708aff Compare May 4, 2026 05:42
@ndr-brt ndr-brt force-pushed the 5707-dps-suspend-resume branch from 0708aff to 38dd6ed Compare May 4, 2026 12:01
@ndr-brt ndr-brt marked this pull request as ready for review May 4, 2026 15:16
@ndr-brt ndr-brt requested a review from a team as a code owner May 4, 2026 15:16
@ndr-brt ndr-brt force-pushed the 5707-dps-suspend-resume branch from 0b2edfe to eda5566 Compare May 4, 2026 15:25
@ndr-brt ndr-brt requested a review from ronjaquensel May 6, 2026 12:12
@ndr-brt ndr-brt merged commit 7cddfdf into main May 6, 2026
20 checks passed
@ndr-brt ndr-brt deleted the 5707-dps-suspend-resume branch May 6, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change Will require manual intervention for version update enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DSP: manage suspension and resumption

3 participants