mistral/releasenotes/notes/use_mapped_entity_for_root_execution-1af6af12ee437282.yaml
Renat Akhmerov d332d7fefe Add release notes for engine optimizations
Change-Id: I9a87c1e2a0bc5a1ba54d7f93f6b1d077088e5023
2019-03-27 14:25:49 +07:00

12 lines
634 B
YAML

---
fixes:
- |
WorkflowExecution database model had only "root_execution_id" to reference
a root workflow execution, i.e. the most parent workflow execution in the
execution tree. So if we needed to get an entity itself we'd always make
a direct query to the database, in fact, w/o using an entity cache in the
SQLAlchemy session. It's now been fixed by adding a normal mapped entity
for root workflow execution. In other words, WorkflowExecution class now
has the property "root_execution". It slightly improves performance in
case this property is accessed more than once per the database session.