DB disconnect errors can leave executions running forever
Bug #1751018 reported by
Andras Kovi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If is DB disconnected during the engine.
Delayed call failed, method: <function _check_and_complete at 0x62f3140>, exception: (sqlalchemy.
As a result, the retry mechanism is not triggered and the scheduled call is lost forever.
Changed in mistral: | |
milestone: | none → rocky-1 |
Changed in mistral: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/547069 /git.openstack. org/cgit/ openstack/ mistral/ commit/ ?id=a59af3f2472 9e3bca9ad7125ff d5090cb7d1b5ba
Committed: https:/
Submitter: Zuul
Branch: master
commit a59af3f24729e3b ca9ad7125ffd509 0cb7d1b5ba
Author: Andras Kovi <email address hidden>
Date: Thu Feb 22 17:42:13 2018 +0100
Ensure workflow check is retried on DB error
On DB error, the _check_and_complete logic is retried. DB disconnect errors
are not shadowed by subsequent DB operations in the failed transaction. Other
non DB disconnect or MistralExceptions are considered fatal, thus, the consistency
check is not rescheduled.
Change-Id: I093d5e2442a548 9d406f4b8a18855 2f201b1a076
Closes-Bug: 1751018