]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Call target plugin out of DB transaction in the Metaplugin
authorItsuro Oda <oda@valinux.co.jp>
Wed, 5 Feb 2014 01:12:26 +0000 (10:12 +0900)
committerItsuro Oda <oda@valinux.co.jp>
Tue, 11 Mar 2014 04:04:15 +0000 (13:04 +0900)
commitdf315513efe62667220562dd2edb5401b15ab2ba
treec4e7e733543a0477215acbb4ccdc63700c8e2c4e
parente17a90347de2cc4eabf4a26b80c7fa4cb639e044
Call target plugin out of DB transaction in the Metaplugin

Previously, there are cases that a target plugin is called
within a DB transaction in the metaplugin. This possibly causes
"DB lock timeout" error since a target plugin may take a long
time (ex. communicate to a controller).

Change-Id: Ie2971bfae1fecc97086b58cd943c321feb0aba04
Closes-Bug: #1267291
neutron/plugins/metaplugin/meta_neutron_plugin.py
neutron/tests/unit/metaplugin/test_metaplugin.py