commit c8f814569d07544734f10f134e146ce981639e07
Author: John Griffith <email address hidden>
Date: Tue Jun 18 23:22:48 2013 -0600
Replace glance_metadata check with bootable column.
This patch adds a column to indicate if a volume is bootable or not.
Cinder API V1 was using get.volume_glance_metadata to determine
if a volume was bootable for translate_view.
This is fine until you put a heavy load on the system and things
can fall apart, particularly the backref of the glance meta is no longer
available and the call blows up. Also this results in a bit of extra
unnecessary data being passed around with every create and get call.
This is especially an issue when creating hundreds or thousands of volumes.
Even better we can now reliably create thousands of volumes.
Reviewed: https:/ /review. openstack. org/33592 github. com/openstack/ cinder/ commit/ c8f814569d07544 734f10f134e146c e981639e07
Committed: http://
Submitter: Jenkins
Branch: master
commit c8f814569d07544 734f10f134e146c e981639e07
Author: John Griffith <email address hidden>
Date: Tue Jun 18 23:22:48 2013 -0600
Replace glance_metadata check with bootable column.
This patch adds a column to indicate if a volume is bootable or not.
Cinder API V1 was using get.volume_ glance_ metadata to determine
if a volume was bootable for translate_view.
This is fine until you put a heavy load on the system and things
can fall apart, particularly the backref of the glance meta is no longer
available and the call blows up. Also this results in a bit of extra
unnecessary data being passed around with every create and get call.
This is especially an issue when creating hundreds or thousands of volumes.
Even better we can now reliably create thousands of volumes.
Fixes bug: 1192390
Change-Id: Idd47a0a8069ee9 05b81c7aae562b8 2767ad91930