-
Notifications
You must be signed in to change notification settings - Fork 133
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
Workers with single decision poller with sticky tasklist feature enabled will stop processing #1369
Comments
Root Cause Temporal keeps the same logic https://github.com/temporalio/sdk-go/blob/cdd30702f1ba479b57111763095e24a25a04ea53/internal/internal_task_pollers.go#L781 |
We decided to add enforcement to have at least 2 decision pollers to avoid breaking existing behaviors |
What changed? added a worker.NewV2 interface that will return error and a deprecation message on New api. added validation on WorkerOptions -- decision poller should be larger than 1 if value is set (not zero) and sticky execution is enabled. Why? #1369 How did you test it? Unit Test Potential risks Low
…workflow#1370) What changed? added a worker.NewV2 interface that will return error and a deprecation message on New api. added validation on WorkerOptions -- decision poller should be larger than 1 if value is set (not zero) and sticky execution is enabled. Why? cadence-workflow#1369 How did you test it? Unit Test Potential risks Low
Describe the bug
Decision worker will stop processing if decision poller count is 1 and sticky tasklist is enabled
To Reproduce
MaxConcurrentDecisionTaskPollers is set to 1 (default 2)
Or MinConcurrentDecisionTaskPollers is set to 1 and Poller Auto Scaler is enabled
Expected behavior
Workflow workers should process decision tasks
The text was updated successfully, but these errors were encountered: