[release-announce] [mistral] mistral 6.0.2 (queens)
no-reply at openstack.org
no-reply at openstack.org
Mon Apr 23 17:40:12 UTC 2018
We exuberantly announce the release of:
mistral 6.0.2: Mistral Project
This release is part of the queens stable release series.
Download the package from:
https://pypi.python.org/pypi/mistral
For more details, please see below.
6.0.2
^^^^^
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 6.0.1..6.0.2
-------------------------------
2cdc1ba Release note for batched evaluation of final workflow context
afabe92 Optimize final workflow context evaluation with a batch request
8052585 Release note for not persisting '__task_execution' in DB
2e027fa Add '__task_execution' structure to task execution context on the fly
c49af40 Optimizing big 'on-XXX' clauses
48bdda8 Correct the string formatting in a info log message
4a39921 Adding WWW-Authenticate info.
97a98ce Update cut_dict() to return no more than specified by length
Diffstat (except docs and test files)
-------------------------------------
mistral/auth/keycloak.py | 14 +-
mistral/context.py | 2 +-
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 | 1 +
mistral/utils/__init__.py | 27 ++--
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 ++
19 files changed, 355 insertions(+), 68 deletions(-)
More information about the Release-announce
mailing list