[release-announce] mistral 5.2.3 (pike)
no-reply at openstack.org
no-reply at openstack.org
Mon Apr 30 10:19:03 UTC 2018
We are pleased to announce the release of:
mistral 5.2.3: 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.3
^^^^^
Bug Fixes
* A regression was introduced that caused an error when logging a
specific message. The string formatting was broken, which caused the
logging to fail.
* Mistral was storing some internal information in task execution
inbound context ('task_executions_v2.in_contex' DB field) to DB.
This information was needed only to correctly implement the YAQL
function task() without arguments. A fix was made to not store this
information in the persistent storage and rather include it into a
context view right before evaluating expressions where needed. So it
slightly optimizes spaces in DB.
* Evaluation of final workflow context was very heavy in cases when
the workflow had a lot of parallel tasks with large inbound
contexts. Merging of those contexts in order to evaluate the
workflow output consumed a lot of memory. Now this algorithm is
rewritten with batched DB query and Python generators so that GS has
a chance to destroy objects that have already been processed.
Previously all task executions had to stay in memory until the end
of the processing. The result is that now it consumes 3 times less
memory on heavy cases.
Changes in mistral 5.2.2..5.2.3
-------------------------------
314af18 Remove any old client actions that no longer exist
d1e2856 Release note for batched evaluation of final workflow context
1f79117 Release note for not persisting '__task_execution' in DB
ee3812a Optimize final workflow context evaluation with a batch request
20248cc Add '__task_execution' structure to task execution context on the fly
cc63730 Optimizing big 'on-XXX' clauses
b82abed Correct the string formatting in a info log message
5db722f Avoid tox_install.sh for constraints support
0070b25 Updated from global requirements
Diffstat (except docs and test files)
-------------------------------------
mistral/actions/openstack/mapping.json | 113 +-------------
mistral/db/v2/api.py | 4 +
mistral/db/v2/sqlalchemy/api.py | 26 +++-
mistral/engine/policies.py | 1 +
mistral/engine/tasks.py | 17 +--
mistral/lang/parser.py | 5 +-
mistral/services/workflows.py | 3 +-
mistral/workflow/data_flow.py | 36 +++--
mistral/workflow/direct_workflow.py | 31 ++--
mistral/workflow/lookup_utils.py | 6 +
...x-regression-when-logging-58faa35f02cefb34.yaml | 6 +
...nt_data_from_task_context-c5281a5f5ae688f1.yaml | 10 ++
...t_evaluation_with_batches-6292ab64c131dfcc.yaml | 12 ++
requirements.txt | 2 +-
test-requirements.txt | 3 +-
tools/tox_install.sh | 57 -------
tox.ini | 12 +-
19 files changed, 304 insertions(+), 215 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index c81f27a..2220876 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -16 +16 @@ mistral-lib>=0.2.0 # Apache-2.0
-networkx>=1.10 # BSD
+networkx<2.0,>=1.10 # BSD
diff --git a/test-requirements.txt b/test-requirements.txt
index 90c9a87..3e7fa10 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -5,0 +6 @@ croniter>=0.3.4 # MIT License
+doc8 # Apache-2.0
@@ -12 +13 @@ mock>=2.0 # BSD
-networkx>=1.10 # BSD
+networkx<2.0,>=1.10 # BSD
More information about the Release-announce
mailing list