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

Support cancellations of ongoing invocations #402

Closed
5 of 7 tasks
tillrohrmann opened this issue May 16, 2023 · 4 comments
Closed
5 of 7 tasks

Support cancellations of ongoing invocations #402

tillrohrmann opened this issue May 16, 2023 · 4 comments
Assignees
Labels
api-devex Restate user facing Development model umbrella
Milestone

Comments

@tillrohrmann
Copy link
Contributor

tillrohrmann commented May 16, 2023

The cancellation of ongoing invocations requires finding the leaf nodes of the call hierarchy starting at the to be canceled call. Cancelling these leaf nodes will trigger the running of their compensations and then the propagation of the cancellation upwards the call hierarchy.

The tasks here reflect the design described in this document: https://docs.google.com/document/d/14s7D6KP1IKNS1K3OrVbZNKGNei9TO_-9Sk0YC5mpht8/edit?usp=sharing

Mandatory tasks

  1. enhancement
    slinkydeveloper
  2. 4 of 4
    enhancement partition-processor umbrella
    tillrohrmann
  3. 7 of 7
    tillrohrmann

We also track in this umbrella some followup tasks that complete the overall picture of the cancellation feature

Optional/followup tasks

  1. enhancement partition-processor performance
  2. admin opsex
  3. api-devex cli
@slinkydeveloper
Copy link
Contributor

Together with this issue, I think we can easily introduce a command like "cancel and restart", that will cancel and immediately restart the invocation, without losing the lock.

@slinkydeveloper
Copy link
Contributor

I'm gonna work on a design document to implement this feature.

@slinkydeveloper slinkydeveloper self-assigned this Jul 13, 2023
@slinkydeveloper
Copy link
Contributor

@tillrohrmann tillrohrmann added the api-devex Restate user facing Development model label Nov 17, 2023
@tillrohrmann tillrohrmann changed the title Implement cancellation of ongoing invocations Support cancellations of ongoing invocations Dec 12, 2023
@tillrohrmann
Copy link
Contributor Author

All the mandatory tasks are completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-devex Restate user facing Development model umbrella
Projects
None yet
Development

No branches or pull requests

2 participants