[openstack-dev] [oslo.db][sqlalchemy][mistral] Configuring default transaction isolation level

ELISHA, Moshe (Moshe) moshe.elisha at alcatel-lucent.com
Tue Dec 8 07:41:19 UTC 2015


Hi,

We at Mistral want to move from the default transaction isolation level of REPEATABLE READ to READ COMMITTED as part of a bugfix[1].

I did not find a way to pass the isolation level to sqlachemy using oslo.db and the current solution is to use monkey-patching[2] that adds the "isolation_level" property.

Is there currently a better way to set the default isolation level?
If not - I will create a BP for it.

Thanks.

[1] https://review.openstack.org/#/c/253819
[2] https://review.openstack.org/#/c/253819/11/mistral/db/sqlalchemy/base.py

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151208/2b6f098f/attachment.html>


More information about the OpenStack-dev mailing list