ironic/releasenotes/notes/improves-node-retrieval-performance-cf5a02eb629bf32c.yaml
Julia Kreger 9851b68ee9 Allow node_sanitize function to be provided overrides
The biggest amount of API overhead is the node sanitization
process, at least at this point in time.

We have streamlined the database interaction to ensure specific
field selection lists are as orderly as possible, but the
node sanitization code re-executes some methods over and over
which do not require variable data from the underlying node.

These are blanket settings "is the user allowed to see x, or y".

Which means we can call node_sanitize pre-seeding these
arguments and execute the calls once, instead of a thousand times
to have the same exact result.

Story: 2008885
Task: 42433

Change-Id: I342e7900cac388cb4749480684418a5a15ac60eb
2021-07-06 11:07:34 -07:00

7 lines
206 B
YAML

---
fixes:
- |
Improves record retrieval performance for baremetal nodes by enabling
ironic to not make redundant calls as part of generating API result
sets for the baremetal nodes endpoint.