Skip to content

squid: mon/OSDMonitor: Add force-remove-snap mon command#59402

Merged
SrinivasaBharath merged 1 commit intoceph:squidfrom
Matan-B:wip-67664-squid
Nov 4, 2024
Merged

squid: mon/OSDMonitor: Add force-remove-snap mon command#59402
SrinivasaBharath merged 1 commit intoceph:squidfrom
Matan-B:wip-67664-squid

Conversation

@Matan-B
Copy link
Contributor

@Matan-B Matan-B commented Aug 22, 2024

backport tracker: https://tracker.ceph.com/issues/67664


backport of #57548
parent tracker: https://tracker.ceph.com/issues/66122

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

```
     *  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 6855b04)
@Matan-B Matan-B requested a review from a team as a code owner August 22, 2024 08:46
@Matan-B Matan-B added this to the squid milestone Aug 22, 2024
@Matan-B Matan-B added the core label Aug 22, 2024
@github-actions github-actions bot added the mon label Aug 22, 2024
@NitzanMordhai
Copy link
Contributor

@SrinivasaBharath SrinivasaBharath merged commit f7bc375 into ceph:squid Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants