nova/nova/db/sqlalchemy
Paul Griffin 5d7a23e7be List instances for secgroup without joining on rules
Make db.security_group_get only join rules if specified in
the columns_to_join. This works around a performance issue
with lots of instances and security groups.

NOTE(mriedem): A legacy_v2 API test had to be updated which
didn't exist in the original fix in Newton.

Co-Authored-By: Dan Smith <dansmith@redhat.com>
Change-Id: Ie3daed133419c41ed22646f9a790570ff47f0eec
Closes-Bug: #1552971
(cherry picked from commit e70468e875)
2016-08-13 18:13:36 -04:00
..
api_migrations Make InstanceMappings.cell_id nullable 2016-03-02 21:54:23 -05:00
migrate_repo Add index on instances table across deleted/created_at columns 2016-03-04 17:40:38 -05:00
__init__.py Remove SQLite BigInteger/Integer translation logic 2015-12-07 12:49:22 -05:00
api.py List instances for secgroup without joining on rules 2016-08-13 18:13:36 -04:00
api_models.py Make InstanceMappings.cell_id nullable 2016-03-02 21:54:23 -05:00
migration.py Revert "Implement online schema migrations" 2015-10-28 19:35:37 -07:00
models.py Add index on instances table across deleted/created_at columns 2016-03-04 17:40:38 -05:00
types.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
utils.py Fix spelling mistake 2016-02-09 22:18:09 -08:00