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 orchestration ID reuse policy #255

Open
kaibocai opened this issue Dec 12, 2023 · 0 comments
Open

Support orchestration ID reuse policy #255

kaibocai opened this issue Dec 12, 2023 · 0 comments
Labels
Enhancement New feature or request P3

Comments

@kaibocai
Copy link
Member

kaibocai commented Dec 12, 2023

durabletask-go now support orchestration ID reuse policy, customer can reuse the orchestration ID with three different action ERROR, IGNORE, and TERMINATE with a target runtime status set.

ERROR- If there is an existing workflow then the scheduler throws an exception (this is the current behavior).
IGNORE- If there is an existing workflow already scheduled, then the scheduler does nothing.
TERMINATE- Terminates any existing workflows with the same instance ID and then schedules a new instance as one atomic action, similar to on-demand ContinueAsNew.

SDK needs to expose those options to customer orchestration ID reuse support.

Reference:

  1. Support reusing orchestration id durabletask-go#46
  2. Support orchestration id reuse policy durabletask-java#188
@bachuv bachuv added Enhancement New feature or request and removed Needs: Triage 🔍 labels Dec 19, 2023
@kaibocai kaibocai changed the title Support orchestration ID reuse policy Support workflow ID reuse policy Jan 5, 2024
@kaibocai kaibocai changed the title Support workflow ID reuse policy Support orchestration ID reuse policy Jan 5, 2024
@lilyjma lilyjma added the P3 label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request P3
Projects
None yet
Development

No branches or pull requests

3 participants