]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Galera multi-writers compliant sync_allocations
authorCedric Brandily <zzelle@gmail.com>
Tue, 16 Jun 2015 07:42:35 +0000 (09:42 +0200)
committerCedric Brandily <zzelle@gmail.com>
Wed, 15 Jul 2015 08:24:15 +0000 (08:24 +0000)
commitd0820e716f5e86602477bfc2269ecc7af8b4f305
tree5fc28539a2744fb9c0fa28176a93645ea46d77ed
parent9d84a424f2e3b50543bcfd1e4c59873c57dc8400
Galera multi-writers compliant sync_allocations

Currently sync_allocations[1] uses with_lockmode('update) which implies
possible deadlocks with Galera multi-writers. This change decorates the
method in order to catch and retry sync_allocations.

[1] neutron.plugins.ml2.drivers.type_tunnel

Change-Id: Ic01614cb5daf174848cf14a6aa4b38c4ed40fe1e
neutron/plugins/ml2/drivers/type_tunnel.py