Project

General

Profile

Bug #16538

rbd-mirror: image deleter should use pool id + global image uuid for key

Added by Jason Dillaman almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
06/29/2016
Due date:
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Waiting for a deletion or canceling pending waiters should use the pool id + global image uuid as the key for referencing in-progress/queued deletions. As part of the actual deletion process, the global image uuid should be converted to a local image id which can then be converted to a image name. This will avoid potential races where the local image hasn't been renamed to match the remote image which was deleted.


Related issues

Copied to rbd - Backport #16902: jewel: rbd-mirror: image deleter should use pool id + global image uuid for key Resolved

History

#1 Updated by Jason Dillaman almost 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman almost 3 years ago

  • Status changed from In Progress to Need Review

#3 Updated by Mykola Golub almost 3 years ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler almost 3 years ago

  • Copied to Backport #16902: jewel: rbd-mirror: image deleter should use pool id + global image uuid for key added

#5 Updated by Loic Dachary over 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF