Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 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. Change-Id: I88df15446ffe34f3f12770d53c3e03d232f495c2 Closes-bug: #1665072
- Loading branch information
Rodrigo Barbieri
committed
Feb 16, 2017
1 parent
3d5b2d0
commit 4181373
Showing
3 changed files
with
54 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/bug-1665072-migration-success-fix-3da1e80fbab666de.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
fixes: | ||
- Fixed ``task_state`` field in the share model | ||
being set to ``migration_success`` before actually | ||
completing a share migration. | ||
|