slow replica snapshot create times
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
kiran pawar | ||
Bug Description
Hi,
I'm looking at slow transitions from 'creating' to 'available' for replica snapshots.
Even with an empty share (no data) it can take longer than two times the replica_
It seems the periodic task periodic_
e.g. https:/
at '2023-02-24 03:42' 'Updating status of share replica snapshots' is missing. In most of the cases both log lines are aligned and appear every 5 minutes together.
Now I wonder if this is related to both methods using the same lock @locked_
I hope that an easy workaround would be to first introduce a different interval - like replica_
Additionally I think that maybe _update_
Because looking at all the guards and errors that are handled, it should(tm) be safe to remove that locking or maybe introduce a new lock just for operations on replica snapshots?
What do you think? Am I misinterpreting something? How to speed up replica snapshot create times?
Cheers,
Maurice
| tags: | added: replication |
| Changed in manila: | |
| importance: | Undecided → Medium |
| Changed in manila: | |
| assignee: | nobody → Maurice Escher (maurice-escher) |
| Changed in manila: | |
| assignee: | Maurice Escher (maurice-escher) → kiran pawar (kpdev) |
| milestone: | none → flamingo-2 |

The problem does not come from locking, periodic tasks itself seem flawed to me, see https:/ /bugs.launchpad .net/oslo. service/ +bug/2011587