summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorWangpan <hzwangpan@corp.netease.com>2012-12-18 10:06:15 +0800
committerWangpan <hzwangpan@corp.netease.com>2012-12-19 14:10:06 +0800
commit54928267e8807167fb96c8fe414a482833a39465 (patch)
treef8c13bb9f70d2cc85b685076bf2e873cbfc16e33 /nova/openstack
parent1d864329c6c5320bde0cd30e3b39f2f93bbe9196 (diff)
downloadnova-54928267e8807167fb96c8fe414a482833a39465.tar.gz
nova-54928267e8807167fb96c8fe414a482833a39465.tar.xz
nova-54928267e8807167fb96c8fe414a482833a39465.zip
Fix race condition of resize confirmation
Currently, the db update of migration status is after the db update of instance's vm_state in _finish_resize, so a race condition occurs when an instance's vm_state is updated but the migration status doesn't, and at this moment a resize confirmation is performed, then an exception 'MigrationNotFoundByStatus' is raised. Fixes: bug #1066140 Change-Id: I1dac98cc99d3491c92faaad2b9dcc40d7c0524b5
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions