]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure that session is rolled back on bulk creates
authorarmando-migliaccio <armamig@gmail.com>
Thu, 13 Feb 2014 19:36:34 +0000 (11:36 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:21 +0000 (15:20 +0800)
commitc257294905dfde27e092b84d07ea8b394a7be132
tree5e39cf638853e1dd65a098d9b4605a176a3ad9de
parent935744818ee0da01f0a5a880e6f358a68bd7752d
Ensure that session is rolled back on bulk creates

During bulk creates, the session is began explicitely;
ensure that it gets rolled back before re-raising in
order to avoid triggering InvalidRequestError
exceptions when the session is reused.

Partial-bug: 1244757

Change-Id: I797faeec2ca5374620db905599ab6e6f04fdcabd
neutron/db/db_base_plugin_v2.py