Skip to content

Conversation

@youngbupark
Copy link
Contributor

@youngbupark youngbupark commented Aug 1, 2025

When SubOrchestrator is failed, SubOrchestrator cannot be reentered by the following error.

orchestration-processor: failed to complete work item: orchestration instance already exists
github.com/microsoft/durabletask-go/backend.(*worker).processWorkItem
        /Users/youngbu.park/go/pkg/mod/github.com/microsoft/durabletask-go@v0.6.1-0.20250524005013-f1543590a4fb/backend/worker.go:244

postgres implementation doesn't have WithOrchestrationIdReusePolicy option while sqlite backend has this id reuse policy. After adding this, SubOrchestrator works as expected.

Fix #105

@cgillum cgillum merged commit 76da102 into microsoft:main Aug 3, 2025
3 checks passed
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.

[postgres] Cannot reenter SubOrchestrator when it fails

2 participants