You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Root Cause
Current implementation is:
X number of decision goroutines are started
Each goroutine will either call sticky tasklist or normal tasklist based on metrics
When X = 1, the condition will always be true. This causes decision polling to stop for normal tasklist
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
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: