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
Today Core automatically retries local activities after worker shutdown has been requested.
In addition to that all local activities are cancelled after the shutdown grace period has expired.
The combination of the two can very easily put the worker in a loop where activity attempts are being exhausted very fast and prevent the worker from shutting down.
It would be better to stop scheduling activity retries after worker shutdown has been requested.
Ideally the progress wouldn't be lost and Core would store progress information in a marker but initially failing the workflow task and letting the server schedule a retry on the next available worker is preferable to the current behavior.
The text was updated successfully, but these errors were encountered:
bergundy
changed the title
[Bug] Core should not keep retrying local activities indefinitely after worker shutdown has been requested.
[Bug] Core should not keep retrying local activities indefinitely after worker shutdown has been requested
Mar 25, 2024
Today Core automatically retries local activities after worker shutdown has been requested.
In addition to that all local activities are cancelled after the shutdown grace period has expired.
The combination of the two can very easily put the worker in a loop where activity attempts are being exhausted very fast and prevent the worker from shutting down.
It would be better to stop scheduling activity retries after worker shutdown has been requested.
Ideally the progress wouldn't be lost and Core would store progress information in a marker but initially failing the workflow task and letting the server schedule a retry on the next available worker is preferable to the current behavior.
The text was updated successfully, but these errors were encountered: