commit 586727cef755abeb3360f176782c1b1dd680d318
Author: Michał Dulko <email address hidden>
Date: Fri Nov 20 12:36:22 2015 +0100
Eager load columns in volume_get_active_by_window
All other volume-related methods in db.sqlalchemy.api are eager loading
volume_metadata, volume_admin_metadata (if admin), volume_type,
volume_attachment and consistencygroup. volume_get_active_by_window
wasn't, causing fails because of SQLAlchemy Session being closed when
trying to lazy load volume_metadata. This commit adds missing
options(joinedload()) to this query.
Reviewed: https:/ /review. openstack. org/248035 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=586727cef75 5abeb3360f17678 2c1b1dd680d318
Committed: https:/
Submitter: Jenkins
Branch: master
commit 586727cef755abe b3360f176782c1b 1dd680d318
Author: Michał Dulko <email address hidden>
Date: Fri Nov 20 12:36:22 2015 +0100
Eager load columns in volume_ get_active_ by_window
All other volume-related methods in db.sqlalchemy.api are eager loading metadata, volume_ admin_metadata (if admin), volume_type, attachment and consistencygroup. volume_ get_active_ by_window joinedload( )) to this query.
volume_
volume_
wasn't, causing fails because of SQLAlchemy Session being closed when
trying to lazy load volume_metadata. This commit adds missing
options(
Change-Id: I33ec89d7f1f43a ae6010aaa6e1295 1b7c522b8f0
Closes-Bug: 1517763
Related-Bug: 1501838