]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: Add force-remove-snap mon command 59402/head
authorMatan Breizman <mbreizma@redhat.com>
Sun, 19 May 2024 13:30:50 +0000 (13:30 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 22 Aug 2024 08:46:37 +0000 (08:46 +0000)
commitc002ea6d9740c3bf3681b00a56983d8feb2e561f
treee453e8ccfe2dad826bba20d8ab507db11942253f
parentfe0f1a54b2262aabff59597f61ceb2581b666ea0
mon/OSDMonitor: Add force-remove-snap mon command

```
     *  Forces removal of snapshots in the range of
     *  [lower_snapid_bound, upper_snapid_bound) on pool <pool>
     *  in order to cause OSDs to re-trim them.
     *  The command has two mutually exclusive variants:
     *  * Default: All the snapids in the given range which are not
     *    marked as purged in the Monitor will be removed. Mostly useful
     *    for cases in which the snapid is leaked in the client side.
     *    See: https://tracker.ceph.com/issues/64646
```

Fixes: https://tracker.ceph.com/issues/66122
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit 6855b049fb38bdb5b15bc1429a7c2e23daccd5ca)
src/mon/MonCommands.h
src/mon/OSDMonitor.cc