Project

General

Profile

Actions

Feature #41363

open

Allow user to cancel scrub requests

Added by David Zafman over 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

If a user requests multiple scrubs or deep-scrubs, they should be able to cancel the requests. It may be that they notice client performance affects. This is more important for backport once QOS enhancements will keep scrub from having any reduction in client performance.


Related issues 3 (2 open1 closed)

Related to RADOS - Bug #46275: Cancellation of on-going scrubsResolvedDavid Zafman

Actions
Related to RADOS - Feature #46379: Add a force-scrub commands to bump already running scrubsNew

Actions
Related to RADOS - Feature #39362: ignore osd_max_scrubs for forced repairNewDavid Zafman

Actions
Actions #1

Updated by Neha Ojha almost 4 years ago

  • Related to Bug #46275: Cancellation of on-going scrubs added
Actions #2

Updated by David Zafman almost 4 years ago

Possible implementations:


1. Cancel command like ceph pg 1.0 cancel-scrub (could cancel any scrub/deep-scrub/repair on pg 1.0)
    So we don't need cancel-deep-scrub or cancel-repair
2. When setting noscrub/nodeep-scrub we could cancel running scrubs but allow new user requested scrubs
    May need hacky implementation
    Not intuitive
    How do you cancel a requested scrub after noscrub is already set?  So this may lead us to cancel-scrub command

We want to allow manual scrubs while noscrub is set for 2 reasons
  Manual scrubbers (set noscrub and nodeep-scrub) use a cronjob and/or running process to start scrubs
  A user might want a scrub like repair on a cluster without having to wait if OSDs have other scrub reservations
    Set noscrub/nodeep-scrub and then ceph pg x.x repair. Works better with https://tracker.ceph.com/issues/46275. 

Actions #3

Updated by David Zafman almost 4 years ago

  • Related to Feature #46379: Add a force-scrub commands to bump already running scrubs added
Actions #4

Updated by David Zafman over 3 years ago

  • Related to Feature #39362: ignore osd_max_scrubs for forced repair added
Actions

Also available in: Atom PDF