The performance of list instances with IP filter can be improved
Bug #1764685 reported by
Zhenyu Zheng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Zhenyu Zheng | ||
Queens |
Fix Committed
|
Low
|
Matt Riedemann |
Bug Description
When list instances with IP filter, there is no need
to try to get instances from BuildRequest, as building
instances will not have IP address. Skip this db call
can slightly improve performance.
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
status: | New → In Progress |
tags: | added: api performance |
Changed in nova: | |
importance: | Undecided → Low |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/539469 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a3a94cf4ec3 c0e41ab2a8a66df c0e7adca2d2a8e
Committed: https:/
Submitter: Zuul
Branch: master
commit a3a94cf4ec3c0e4 1ab2a8a66dfc0e7 adca2d2a8e
Author: Kevin_Zheng <email address hidden>
Date: Wed Jan 31 16:52:53 2018 +0800
Improve performance when list instances with IP filter
When list instances with IP filter, there is no need
to try to get instances from BuildRequest, as building
instances will not have IP address. Skip this db call
can slightly improve performance.
Closes-Bug: #1764685
Change-Id: Ic02206e887e3fe a7752d615bbed68 0510c482097