skip periodic update on replicas in 'error_deleting'

Change-Id: I737dbc5138c81e6708b9ebae7e7c11622e124a3d
Closes-Bug: #2024578
(cherry picked from commit ca90c87c47)
(cherry picked from commit 9338a3afec)
(cherry picked from commit c14f4f0940)
This commit is contained in:
Maurice Escher 2023-06-21 14:56:50 +02:00 committed by Goutham Pacha Ravi
parent 3ba4d99288
commit 4597939d9e
2 changed files with 7 additions and 0 deletions

View File

@ -2668,6 +2668,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>`_