summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2021-05-19 15:01:25 -0700
committerJay Faulkner <jay.faulkner@verizonmedia.com>2021-07-07 12:19:11 -0700
commit5a4783e4ac33ca912edbd120326151bd704ad142 (patch)
tree1b0d060cf3b34d1929141f35a8cfe75b7fb39f00 /releasenotes
parent145765671ae4b44fa1d578291773634dfb51d70c (diff)
downloadironic-5a4783e4ac33ca912edbd120326151bd704ad142.tar.gz
API to pass fields to node object list
This change modifies the nodes _get_nodes_collection method to consider and pass in an explicit lisst of requested fields into the node list method, while also including the required fields for things like ownership/policy checking. And slightly modifies node_convert_with_links method to simplify it while enabling field validity to be checked, and specific requisite field lists provided in based upon that value. And also optionally builds the traits list as they are nolonger *always* populated on all objects with fully populated objects as only partially hydrated objects are provided back when specific fields are requested. Story: 2008885 Task: 42572 Change-Id: Ided419263d84184cab902944b6c518f98618c9d2
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml b/releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml
new file mode 100644
index 000000000..5aee33b20
--- /dev/null
+++ b/releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml
@@ -0,0 +1,9 @@
+---
+fixes:
+ - |
+ Slow database retrieval of nodes has been addressed at the lower layer by
+ explicitly passing and handling only the requested fields. The result is
+ excess discarded work is not performed, making the overall process more
+ efficent.
+ This is particullarly beneficial for OpenStack Nova's syncronization with
+ Ironic.