Join wait forever on branch error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Winson Chan | ||
Liberty |
Won't Fix
|
High
|
Winson Chan | ||
Mitaka |
Fix Released
|
High
|
Winson Chan |
Bug Description
vagrant@
version: '2.0'
name: test-join-wait-bug
workflows:
main:
type: direct
tasks:
task1:
action: std.noop
- task3
task2:
action: std.fail
- task3
task3:
action: std.noop
join: all
vagrant@arkham:~$ mistral workbook-create ~/tmp/mistral/
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| Name | test-join-wait-bug |
| Tags | <none> |
| Created at | 2015-07-08 21:18:27.685937 |
| Updated at | None |
+------
vagrant@arkham:~$ mistral execution-create test-join-
Starting new HTTP connection (1): localhost
+------
| Field | Value |
+------
| ID | 93cb4143-
| Workflow | test-join-
| State | RUNNING |
| Created at | 2015-07-08 21:18:48.798204 |
| Updated at | 2015-07-08 21:18:49.060013 |
+------
vagrant@arkham:~$ mistral execution-list
Starting new HTTP connection (1): localhost
+------
| ID | Workflow | State | Created at | Updated at |
+------
| 93cb4143-
+------
vagrant@arkham:~$ mistral task-list
Starting new HTTP connection (1): localhost
+------
| ID | Name | Workflow name | Execution ID | State |
+------
| 189cde93-
| 324f2bb7-
| 0f653cd7-
+------
vagrant@arkham:~$ mistral execution-list
Starting new HTTP connection (1): localhost
+------
| ID | Workflow | State | Created at | Updated at |
+------
| 93cb4143-
+------
Changed in mistral: | |
assignee: | nobody → Winson Chan (winson-c-chan) |
Changed in mistral: | |
importance: | Undecided → Critical |
no longer affects: | mistral/liberty |
Winson,
Actually by this behavior is intentional, it is valid by the current design. Task just hangs if some of the inbound tasks didn't successfully complete for some reason or didn't complete at all (workflow went to a different route).
What do you think should be the right behavior?
Note that we also have a BP https:/ /blueprints. launchpad. net/mistral/ +spec/mistral- weak-join that is to some extend related to this.