Skip to content

Leave a goal ended when its cancel response arrives after the result - #529

Open
NinjaTuna007 wants to merge 2 commits into
smarc-project:humblefrom
NinjaTuna007:cancel-after-result
Open

NinjaTuna007 wants to merge 2 commits into
smarc-project:humblefrom
NinjaTuna007:cancel-after-result

Conversation

@NinjaTuna007

Copy link
Copy Markdown

Cancel a task while its server is just finishing the goal, and the client was marking the goal CANCELLED after the result had already landed. The officer then reported that finished goal as failed, with cancelled: ... as the reason. The cancel reply now only changes the state while that cancel is still in flight, and only while the client still holds the handle that was cancelled.

With a multi-threaded executor the same overlap can leave the client in CANCELLING for good. evolo_deploy_at is the one that runs this client that way.

Fixes #525.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A goal that finished gets reported as cancelled

1 participant