deb-cinder/cinder/db/sqlalchemy
Vincent Hou 79414d17d8 Remove the jointly loaded model in finish_volume_migration
After a successful volume migration, the source volume and the
destination volume need to swap the data in the models in
finish_volume_migration. It is sufficient to load the volume
model only and there is no need to load other models, like
volume type, metadata, consistency group, etc. If we load
these additional models, it will lead to NULL key error, when
either source or destination model has a NULL key pointer.

Change-Id: I04ad0739387d602719591680854e6655cc87f9ab
Closes-Bug: #1505572
2015-10-21 22:52:35 -07:00
..
migrate_repo Add placholder for migration backports in Liberty 2015-09-25 12:25:32 -06:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
api.py Remove the jointly loaded model in finish_volume_migration 2015-10-21 22:52:35 -07:00
models.py Generic image-volume cache 2015-09-02 17:54:07 +00:00