midokura / neutron

Quantum is a virtual network service for Openstack, and a part of Netstack.
http://openstack.org
Apache License 2.0
2 stars 3 forks source link

Add the synchronized decorators before ports' critical sections #54

Closed tfukushima closed 10 years ago

tfukushima commented 10 years ago

When multiple port updates occur we experience transaction timeouts. This patch encloses create_port and delete_port to guarantee that only one thread enters the critical section.

This fixes MN-921, which is a bug for Havana. The patch for Grizzly is already merged and MN-908 is resolved.

Signed-off-by: Taku Fukushima tfukushima@midokura.com