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: always record dataplane ID #4367

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ private ServiceResult<TransferProcess> startedAction(TransferStartMessage messag
if (transferProcess.getType() == CONSUMER && transferProcess.canBeStartedConsumer()) {
observable.invokeForEach(l -> l.preStarted(transferProcess));
transferProcess.protocolMessageReceived(message.getId());
transferProcess.transitionStarted();
transferProcess.transitionStarted(transferProcess.getDataPlaneId());
update(transferProcess);
var transferStartedData = TransferProcessStartedData.Builder.newInstance()
.dataAddress(message.getDataAddress())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ public boolean canBeStartedConsumer() {
return currentStateIsOneOf(STARTED, REQUESTED, STARTING, RESUMED);
}

public void transitionStarted() {
transitionStarted(null);
}

public void transitionStarted(String dataPlaneId) {
if (type == CONSUMER) {
transition(STARTED, state -> canBeStartedConsumer());
Expand Down
Loading