Project

General

Profile

Actions

Bug #64646

open

ceph osd pool rmsnap clone object leak

Added by Matan Breizman 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
Snapshots
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,reef,squid
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

There are 2 ways to remove pool snaps, rados tool or mon command (ceph osd pool rmsnap).
It seems that the monitor command is not reporting the actual removal via new_removed_snaps which is later proceed in OSDMap::apply_incremental.
This will result in a clone object leakage since the snap id won't be marked as purged (and won't be trimmed).

First step (https://github.com/ceph/ceph/pull/55841) would be to fix the command.

Second step is to handle already leaked snapids which were impacted by the faulty command https://github.com/ceph/ceph/pull/53545.


Related issues 3 (3 open0 closed)

Copied to RADOS - Backport #65095: quincy: ceph osd pool rmsnap clone object leakIn ProgressMatan BreizmanActions
Copied to RADOS - Backport #65096: reef: ceph osd pool rmsnap clone object leakIn ProgressMatan BreizmanActions
Copied to RADOS - Backport #65097: squid: ceph osd pool rmsnap clone object leakIn ProgressMatan BreizmanActions
Actions

Also available in: Atom PDF