summaryrefslogtreecommitdiff
path: root/releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml
diff options
context:
space:
mode:
authorJulia Kreger <juliaashleykreger@gmail.com>2021-05-19 15:01:25 -0700
committerJulia Kreger <juliaashleykreger@gmail.com>2021-06-25 23:04:31 +0000
commit87e42afb9e98204a683baff22c67171dca2100fe (patch)
tree37bb4d1a5773f0335813ce22858dfb89e34024d9 /releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml
parent7b37e03b691cc45e319f61baa494dc0592c2a6f0 (diff)
downloadironic-87e42afb9e98204a683baff22c67171dca2100fe.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/notes/db-field-overhead-reduction-40be1821e38b468c.yaml')
-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.