Actions
Feature #16568
closedRemoving head object with ceph-objectstore-tool breaks snap trimming
Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
The ceph-objectstore-tool can remove the snapdir or head object even with other snaps present. The head object is required otherwise trim_object() will crash the osd.
The fix is to remove all snapshots when removing the head or snapdir object. The existing code will already cleanup the SnapMapper, but we shouldn't allow the head/snapdir alone to be removed.
Actions