mistral/mistral/services
Renat Akhmerov b7faf8d4fc Performance: remove unnecessary workflow execution update
* This fix drastically improves performance since it eliminates
  an unnecessary update of the workflow execution object when
  processing "on_action_complete" operation. W/o this fix
  all such transactions would have to compete for the workflow
  executions table that causes lots of DB deadlocks (on MySQL)
  and transaction retries. In some cases the number of retries
  even exceeds the limit (currently hardcoded 50) and such tasks
  can be fixed only with the integrity checker over time.
  See the code comment in the "dispatcher.py" module that explains
  why this specific change eliminates the update of the workflow
  execution object.
* Style changes in api.py and aciton_execution_checker.py

Closes-Bug: #1790079

Change-Id: I08cb561e252d31e35fcfb61984d87a7bfc387a4d
(cherry picked from commit 8f40b01cb6)
2018-09-03 13:28:33 +00:00
..
__init__.py Added periodic events 2013-12-05 19:01:22 +04:00
action_execution_checker.py Performance: remove unnecessary workflow execution update 2018-09-03 13:28:33 +00:00
action_execution_reporter.py A mechanism to close stuck running action executions 2018-06-12 14:15:15 +00:00
action_manager.py Use the new action context in MistralHTTPAction 2017-12-11 22:42:48 +00:00
actions.py Rename package 'workbook' to 'lang' 2017-03-06 15:41:37 +07:00
expiration_policy.py Modify log infomation to achieve the same format 2017-11-20 09:04:54 +00:00
periodic.py Make cron-triggers not play catchup 2018-06-14 09:49:24 +01:00
scheduler.py Added the limit on selection of delayed calls 2018-01-21 13:16:50 +04:00
security.py [Triggers] Fix running openstack actions via triggers 2017-08-09 11:49:09 +03:00
triggers.py Fix WF execution getting stuck on null description 2018-04-02 15:00:36 +05:30
workbooks.py Remove extra a specification validation 2018-07-30 11:55:35 +04:00
workflows.py Remove extra a specification validation 2018-07-30 11:55:35 +04:00