manila/releasenotes/notes/bug-1862833-fix-backref-by-eager-loading-2d897976e7598625.yaml
Goutham Pacha Ravi ef6b9a0c72 Fix database loading for some resources
Whenever we use share network subnets, we'd
always need the associated share networks; so
'joined' loading them makes sense rather than
lazy loading. Same is true for Share Group
Snapshots, since share group attributes are
relevant in contexts that snapshots are
referenced.

Fix the ORM relationship loading technique
and queries appropriately. Also convert share
network name into a property of the share
network subnet class.

Co-Authored-By: Carlos Eduardo <ces.eduardo98@gmail.com>
Closes-Bug: #1862833
Change-Id: I8c29760479f9c874d618e2c15ebab75bffeb3cbb
2020-02-13 14:39:24 +00:00

6 lines
161 B
YAML

---
fixes:
- |
Some resources will be eagerly loaded from the database to avoid cyclical
references and faulty results if their retrieval is deferred.