ironic/releasenotes/notes/db-field-overhead-reduction-40be1821e38b468c.yaml
Julia Kreger 87e42afb9e 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
2021-06-25 23:04:31 +00:00

10 lines
352 B
YAML

---
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.