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

Reset should be allowed with pending childWF in current run, if current run is already closed #5030

Open
longquanzheng opened this issue Nov 19, 2022 · 0 comments
Labels
customer Feature asks from customer feature New feature

Comments

@longquanzheng
Copy link
Contributor

longquanzheng commented Nov 19, 2022

https://github.com/uber/cadence/blob/1a506710620ab88fc6542d5ed0810bd4524d65f8/service/history/reset/resetter.go#L643

This is because child WF could get get closed after parent closed, and parent will not receive the children close signals.

So that after parent is closed for any reasons(terminate/timeout/fail/etc), this parent is never allowed to reset to anywhere because it has a pending childWFs in its mutableState forever as "deadlock condition"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer Feature asks from customer feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants