Merge "skip periodic update on replicas in 'error_deleting'"

This commit is contained in:
Zuul 2023-06-27 12:50:34 +00:00 committed by Gerrit Code Review
commit 68127fe444
2 changed files with 7 additions and 0 deletions

View File

@ -2723,6 +2723,7 @@ class ShareManager(manager.SchedulerDependentManager):
# We don't poll for replicas that are busy in some operation,
# or if they are the 'active' instance.
if (share_replica['status'] in constants.TRANSITIONAL_STATUSES
or share_replica['status'] == constants.STATUS_ERROR_DELETING
or share_replica['replica_state'] ==
constants.REPLICA_STATE_ACTIVE):
return

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Share replicas in state `error_deleting` are now skipped during periodic
updates. For more details, please refer to
`launchpad bug #2024556 <https://bugs.launchpad.net/manila/+bug/2024556>`_