Share task_state was set to migration_success
before completing migration. There was still
updates to the share model to be performed
before completing.
Also, small refactoring in host-assisted
migration's migration_complete that was not
setting the task_state migration_completing
at the proper time, allowing a bigger window
for 2 concurrent migration_complete calls.
Reviewed: https:/ /review. openstack. org/434462 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=41813736718 e2b81d1d907bf49 feb1940c1e990f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 41813736718e2b8 1d1d907bf49feb1 940c1e990f
Author: Rodrigo Barbieri <email address hidden>
Date: Wed Feb 15 16:41:34 2017 -0200
Fix migration_success before completing
Share task_state was set to migration_success
before completing migration. There was still
updates to the share model to be performed
before completing.
Also, small refactoring in host-assisted completing
migration's migration_complete that was not
setting the task_state migration_
at the proper time, allowing a bigger window
for 2 concurrent migration_complete calls.
Change-Id: I88df15446ffe34 f3f12770d53c3e0 3d232f495c2
Closes-bug: #1665072