]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Removing rpc communication from db transaction
authorJakub Libosvar <libosvar@redhat.com>
Thu, 3 Oct 2013 17:45:09 +0000 (19:45 +0200)
committerJakub Libosvar <libosvar@redhat.com>
Tue, 15 Oct 2013 09:11:05 +0000 (11:11 +0200)
commit5becbbec6a686667925f399904cebd97b583c35a
tree70a10b7f3f539d150d41d56835276f02ca3245ad
parent4f35b5f424f5f4f6c94da331b4ba47c9defb6899
Removing rpc communication from db transaction

In a transaction context of ExtraRoute_db_mixin.update_router() was
called super method that uses subtransaction and communication with l3
agent. In case of agent's heartbeat happens while there is running
transaction, update heartbeat in agents table gets stuck in a deadlock.

Closes-Bug: #1211915
Change-Id: I96e6a9d7172d5a0e3e720a81fcd10f04c40aef07
neutron/db/extraroute_db.py