nec plugin: Avoid long transaction in delete_ports
db_plugin.delete_ports() can lead to long transaction
if plugin.deleete_port talks with external system.
This commit removes a transaction in delete_ports and
allows NEC plugin to use more granular db transactions
in delete_port. It greatly helps db race conditions and
timeouts in delete_port operations.
To avoid to impact other plugins/drivers by changing
db_plugin.delete_ports directly and to land this patch soon,
this commit overrides delete_ports() in NEC plugin.
Further disssion on transaction in delete_ports will be
discussed under bug 1282925.
Reviewed: https:/ /review. openstack. org/75343 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=64acc3bd638 46a6e7da8d1136f 946372c698cb76
Committed: https:/
Submitter: Jenkins
Branch: master
commit 64acc3bd63846a6 e7da8d1136f9463 72c698cb76
Author: Akihiro Motoki <email address hidden>
Date: Fri Feb 21 17:42:46 2014 +0900
nec plugin: Avoid long transaction in delete_ports
db_ plugin. delete_ ports() can lead to long transaction
if plugin.deleete_port talks with external system.
This commit removes a transaction in delete_ports and
allows NEC plugin to use more granular db transactions
in delete_port. It greatly helps db race conditions and
timeouts in delete_port operations.
To avoid to impact other plugins/drivers by changing plugin. delete_ ports directly and to land this patch soon,
db_
this commit overrides delete_ports() in NEC plugin.
Further disssion on transaction in delete_ports will be
discussed under bug 1282925.
Closes-Bug: #1282922
Related-Bug: #1282925
Change-Id: I2c00694ad34eb2 058bf7a0ff1c920 ceded327d43