05252da835
* It turns out that update_on_match() from oslo_db breaks fields of a persistent object (attached to the session) in some cases. For example, when we use PostgreSQL as a DB it doesn't properly merge fields of the given specimen onto the fields of the object attached to the SQLAlchemy session. For some reason, it cleans up the history of ORM events registered before this operation so that if some update took place in this session and they are not flushed yet to DB they simply get lost. Hence adding flush() on the session right before this operation helps. * NOTE: this is rather a workaround than a fix of the root cause. Root cause still needs to be found. Change-Id: I546badd8b1c96b68567287fc9d38b07738272503 Closes-Bug: #1736821 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
commands.py | ||
data_flow.py | ||
direct_workflow.py | ||
lookup_utils.py | ||
reverse_workflow.py | ||
states.py | ||
utils.py |