We eagerly announce the release of: mistral 5.2.4: Mistral Project This release is part of the pike stable release series. Download the package from: https://pypi.org/project/mistral For more details, please see below. 5.2.4 ^^^^^ Bug Fixes * Used "passive_deletes=True" in the configuration of relationships in SQLAlchemy models. This improves deletion of graphs of related objects stored in DB because dependent objects don't get loaded prior to deletion which also reduces the memory requirement on the system. More about using this flag can be found at: http://docs.sqlalchemy.org/en/latest/orm/collections.html#using- passive-deletes * Mistral was storing, in fact, two copies of a workflow environment, one in workflow parameters (the 'params' field) and another one in a context (the 'context' field). Now it's stored only in workflow parameters. It saves space in DB and increases performance in case of big workflow environments. * Mistral was copying a workflow environment into all of their sub workflows. In case of a big workflow environment and a big number of sub workflows it caused serious problems, used additional space in DB and used a lot of RAM (e.g. when the 'on-success' clause has a lot of tasks where each one of them is a subworkflow). Now it is fixed by evaluating a workflow environment through the root execution reference. Changes in mistral 5.2.3..5.2.4 ------------------------------- ea4951a Fix the README formatting 4e28b65 Release note for using "passive_deletes=True" a619245 Release note for using "passive_deletes=True" ae426bf Use "passive_deletes=True" in ORM relationships 7ec98b4 Do not copy workflow environment into subworkflows 3eeb561 Release note for workflow environment optimizations 5e56a28 Get rid of a extra copy of workflow environment 690e7ee Stop using slave_scripts/install-distro-packages.sh Diffstat (except docs and test files) ------------------------------------- README.rst | 3 +- mistral/cmd/launch.py | 1 + mistral/db/v2/sqlalchemy/models.py | 9 +- mistral/engine/actions.py | 19 ++-- mistral/engine/base.py | 2 + mistral/engine/tasks.py | 4 +- mistral/engine/workflows.py | 39 ++++---- mistral/services/workflows.py | 3 - .../unit/engine/test_direct_workflow_rerun.py | 2 - .../unit/engine/test_reverse_workflow_rerun.py | 2 - mistral/workflow/data_flow.py | 49 +++++----- mistral/workflow/direct_workflow.py | 2 + playbooks/legacy/mistral-ha/run.yaml | 9 +- ...ive_deletes_in_sqlalchemy-4b3006b3aba55155.yaml | 9 ++ ...environment_optimizations-deb8868df3f0dc36.yaml | 16 ++++ 24 files changed, 287 insertions(+), 96 deletions(-)
participants (1)
-
no-reply@openstack.org