manila/releasenotes/notes/bug-1889549-fix-migration-get-progress-race-15aea537efec6daf.yaml
Maurice Escher fec7643a85
Improve migration_get_progress error handling
Share manager may raise InvalidShare because the migration phase
has already been completed. In such cases total_progress 100 can
be reported instead of raising ShareMigrationError.

Change-Id: I6e1b1abf6a2fd8c1268e446b7ee8e364bdc496bc
Closes-Bug: #1889549
2020-09-17 18:48:46 +02:00

8 lines
288 B
YAML

---
fixes:
- |
In the share migration_get_progress API a race condition was fixed. If the
share manager reports ``InvalidShare`` the share's task state is evaluated
again to return progress 0 or 100 based on known task states instead of
raising ``ShareMigrationError``.