Empty nova list causes expensive in predicate queries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Andrew Laski |
Bug Description
Requesting a list of servers through the API runs some queries that become more expensive when there are no instances returned.
Example:
/usr/local/
uid" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate. Consider alternati
ve strategies for improved performance.
return self._in_
2013-07-24 20:42:46.126 DEBUG sqlalchemy.
ol from (pid=24610) __init__ /usr/local/
2013-07-24 20:42:46.127 INFO sqlalchemy.
FROM instance_
WHERE instance_
instance_
Changed in nova: | |
importance: | Undecided → Low |
assignee: | nobody → Andrew Laski (alaski) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/38809
Review: https:/