vmware-nsx/neutron
Cedric Brandily 1814dae6b7 Remove SELECT FOR UPDATE use in ML2 type driver release_segment
SELECT FOR UPDATE expression, which is triggered with the use of the
SQLAlchemy Query object's with_lockmode('update') method, is
detrimental to performance and scalability of the database
performance code in Neutron due to the lock contention it produces.

SELECT FOR UPDATE can be entirely avoided in release_segment methods
with the use of single-shot UPDATE and DELETE expressions, and this
patch clears a number of uses of SELECT FOR UPDATE by consolidating
multiple SQL expressions into one.

Partial-Bug: #1330562
Change-Id: I29ffcafc8d4d73ac1cb50c94df5da85514d47a3f
2014-06-17 23:15:56 +00:00
..
agent Introduced rpc_compat.create_connection() 2014-06-16 12:44:22 +02:00
api extensions: remove 'check_env' method 2014-06-10 12:47:33 +09:00
cmd Allow neutron-sanity-check to check OVS patch port support 2014-06-04 14:43:25 +00:00
common Merge "Introduced rpc_compat.create_connection()" 2014-06-16 23:11:30 +00:00
db Merge "Introduce RpcCallback class" 2014-06-16 21:32:22 +00:00
debug Fix H302 violations 2014-05-04 12:40:08 +02:00
extensions Merge "multiprovidernet: fix a comment" 2014-06-11 06:43:59 +00:00
hacking Add missing translation support 2014-05-19 12:16:56 +02:00
locale Imported Translations from Transifex 2014-06-16 06:08:58 +00:00
notifiers Merge "Use list copy for events in nova notifier" 2014-06-12 13:30:08 +00:00
openstack Merge "Sync service module from oslo-incubator" 2014-06-13 21:20:17 +00:00
plugins Remove SELECT FOR UPDATE use in ML2 type driver release_segment 2014-06-17 23:15:56 +00:00
scheduler Merge "Enable flake8 E711 and E712 checking" 2014-04-23 01:01:16 +00:00
server Monkey patch threading module as early as possible 2014-06-09 16:42:47 +02:00
services Introduced rpc_compat.create_connection() 2014-06-16 12:44:22 +02:00
tests Add vlan type driver unittests 2014-06-17 21:35:38 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Return request-id in API response 2014-02-10 04:58:38 +09:00
context.py Fix H302 violations 2014-05-04 12:40:08 +02:00
hooks.py Remove pyudev dependency 2014-02-25 14:28:35 +00:00
manager.py Introduce RpcCallback class 2014-06-16 12:44:22 +02:00
neutron_plugin_base_v2.py Add support for multiple RPC workers under Metaplugin 2014-04-15 13:29:27 +09:00
policy.py Perform policy checks only once on list responses 2014-05-06 03:52:29 -07:00
quota.py Remove last parts of Quantum compatibility shim 2014-03-31 23:31:23 -07:00
service.py Copy-paste RPC Service class for backwards compatibility 2014-06-16 12:44:22 +02:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Monkey patch threading module as early as possible 2014-06-09 16:42:47 +02:00