Retry policy keeps iterating if the workflow is paused
Bug #1769012 reported by
Vitalii Solodilov
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
In Progress
|
Medium
|
Vitalii Solodilov |
Bug Description
If I try to pause an execution, the retry iteration doesn't stop.
Actual:
* start task1
* 1 retry iteration
* 2 retry iteration
...
* 50 retry iteration
-> pause workflow
* 51 retry iteration
* 52 retry iteration
...
* 500 retry iteration
But it would be cool if a retry iteration was paused after pausing the execution. And it should be continued after resuming the execution.
Expected:
* start task1
* 1 retry iteration
* 2 retry iteration
...
* 50 retry iteration
-> pause workflow
... some time later
-> resume workflow
* 51 retry iteration
* 52 retry iteration
...
* 500 retry iteration
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in mistral: | |
status: | New → Confirmed |
milestone: | none → rocky-2 |
Changed in mistral: | |
assignee: | nobody → Vitalii Solodilov (mcdoker18) |
summary: |
- Workflow pause with task retry policy + Retry policy keeps iterating if the workflow is paused |
Changed in mistral: | |
importance: | Undecided → Medium |
Changed in mistral: | |
milestone: | rocky-2 → rocky-3 |
Changed in mistral: | |
milestone: | rocky-3 → stein-1 |
Changed in mistral: | |
milestone: | stein-1 → none |
To post a comment you must log in.
We have also seen this issue with asynchronous tasks and retries. If the execution is cancelled but an async tasks then fails, the retry logic will kick in and start up the task again inside the cancelled execution.