Lock required in delete share/snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Invalid
|
Medium
|
Madhu Mohan Nelemane |
Bug Description
Recently I was running tempest for Manila,
I noticed some times, Test cases issued 2 delete snapshot command nearly in the same time and
these 2 api call came to our backend driver in a row within 0.6 s, below the manila api/driver call sequence in time line:
18:20:56.264 DELETE_1 cames via HTTP DELETE
18:20:56.86 DELETE_2 cames vai HTTP POST(Action body: {"os-force_delete": null})
18:20:57.414 DELETE_1 finisned in driver
18:20:57.474 DELETE_2 finisned in driver
that's say, driver will received 2nd delete_snapshot request while processing the 1st delete_snapshot.
while from Cinder, cinder manager will not dispatch the 2nd delete_snapshot request to driver until 1nd delete_snapshot finished ,since cinder add @locked_
my question is : can Manila also add lock as cinder do?
Thanks
Peter
affects: | manila (Ubuntu) → manila |
tags: | added: manila |
Changed in manila: | |
importance: | Undecided → Medium |
Changed in manila: | |
assignee: | nobody → Igor Malinovskiy (imalinovskiy) |
Changed in manila: | |
assignee: | Igor Malinovskiy (imalinovskiy) → nobody |
Changed in manila: | |
milestone: | none → mitaka-1 |
Changed in manila: | |
milestone: | mitaka-1 → mitaka-2 |
Changed in manila: | |
milestone: | mitaka-2 → mitaka-3 |
Changed in manila: | |
milestone: | mitaka-3 → mitaka-rc1 |
Changed in manila: | |
assignee: | nobody → Madhu Mohan Nelemane (mmohan-9) |
Changed in manila: | |
status: | New → In Progress |
Changed in manila: | |
milestone: | mitaka-rc1 → newton-1 |
Changed in manila: | |
milestone: | newton-1 → none |
tags: | added: races |
Related fix proposed to branch: master /review. openstack. org/289441
Review: https:/