neutron-fwaas/neutron_fwaas/db/firewall
armando-migliaccio 7c723e4b9a Kill contention between update and delete
Patch I455bbe00395377509beca5ec1d54cf4f7a57152d didn't go enough and we knew it. This patch
overhauls the status update logic to kill the race contention once and for all by updating in
place (or at least that's the wishful thinking).

The logic of preventing updates for firewall in progress of being deleted is preserved. This
is done by introducing a new update method that encapsulates DB logic where it belongs.

Code being affected is covered already so no more coverage is deemed necessary.

Closes-bug: 1483875

Change-Id: Ie6fc6d2545b778f8264d57201827dd82618259f9
2015-08-28 09:52:41 -07:00
..
__init__.py Split fwaas services code into neutron-fwaas 2014-12-08 13:38:07 -07:00
firewall_db.py Kill contention between update and delete 2015-08-28 09:52:41 -07:00
firewall_router_insertion_db.py Switch from neutron.common.log.log to oslo_log.helpers.log_method_call 2015-04-10 17:40:41 +02:00