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
If my worker performs the following actions in this order:
Poll task_name (Get 1 task)
Poll task_name (Get 2 task)
Update task_name_1 to failed (Return 200 OK)
Update task_name_2 to completed
Retry workflow
I see that both task_name_1 that failed and task_name_2 that went well are queued.
I understand that the tasks are atomic actions and this shouldn't happen as it could lead to problems related to running the same task twice, is this something that has been overlooked or is there a way to keep the previous task states.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following workflow:
If my worker performs the following actions in this order:
I see that both task_name_1 that failed and task_name_2 that went well are queued.
I understand that the tasks are atomic actions and this shouldn't happen as it could lead to problems related to running the same task twice, is this something that has been overlooked or is there a way to keep the previous task states.
Beta Was this translation helpful? Give feedback.
All reactions