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
In my workflow worker, firstly I start a timer to wait for the biz data to be ready. Then 1,000 activies are submitted, i expected that all these activities can be scheduled and run asynchronously after the submission. Then I wait for the results of the 1,000 Future object like a wait group model.
There's a hard coded 4 MB limit for a gRPC response. If the accumulated size of the schedule activity commands goes above that limit the RespondWorkflowTaskCompleted request will be rejected and it will manifest as a timeout.
This is a known issue without a good mitigation today.
Please confirm this theory, there may be some logs emitted by the Go SDK.
As a workaround, you can add a sleep after every 100 activities scheduled.
hi, I apologize for using an issue to seek help.
Expected Behavior
In my workflow worker, firstly I start a timer to wait for the biz data to be ready. Then 1,000 activies are submitted, i expected that all these activities can be scheduled and run asynchronously after the submission. Then I wait for the results of the 1,000 Future object like a wait group model.
This is a simplified version of my code:
the activity options as follow:
the workflow options:
the worker options:
Actual Behavior
It reports WorkflowTaskTimeOut, and none of the activities was scheduled.
The timeline is as follow:
p.s. if i reduce the number of activities to 100, all the activities run successfully.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: