Actions
Bug #8187
closedlibrbd: list_children() reports duplicates with cache pools
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
list_children() and the internals of snap_unprotect() both go through all pools to check for children of a snapshot. Since cache pools contain the same objects, each child will be listed once for each cache pool and once for each base pool. These methods should only look at base pools. This doesn't affect the correctness of snap_unprotect(), it's just a cosmetic defect in list_children(). See also #8188.
Updated by Adam Crume over 9 years ago
- Assignee changed from Adam Crume to Josh Durgin
Josh, I'm having trouble reproducing this. Do you have a test case?
Updated by Adam Crume over 9 years ago
- Assignee changed from Josh Durgin to Adam Crume
Never mind, figured it out. Apparently it's not enough to set pool2 up as a tier of pool1, it also has to be an overlay.
Updated by Adam Crume over 9 years ago
- Status changed from In Progress to Fix Under Review
- Assignee changed from Adam Crume to Josh Durgin
Updated by Adam Crume over 9 years ago
- Status changed from Fix Under Review to Resolved
Actions