]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Get rid of additional db contention on fetching VIP
authorKevin Benton <blak111@gmail.com>
Thu, 20 Mar 2014 07:24:50 +0000 (00:24 -0700)
committerEugene Nikanorov <enikanorov@mirantis.com>
Thu, 20 Mar 2014 19:27:24 +0000 (23:27 +0400)
commitfe961d14c5821bcad6b0b7ae0e072269c1b1e516
treee893e2c3182a1f9cda23256c44ec89921b0e62c7
parente7f9d28825e5e226561ec572d368fcd951a75ae9
Get rid of additional db contention on fetching VIP

This fix gets rid of fetching related record from ports table
that could potentially be blocked by concurrent operation
This is to prevent it from updating the
vip table while a port SQL lock is in place, which
vip entries have a reference to.

Partial-Bug: 1283522
Change-Id: Ic64cc268ff4817a31971734a44671c744047231b
neutron/db/loadbalancer/loadbalancer_db.py