Project

General

Profile

Actions

Bug #46275

closed
RZ DZ

Cancellation of on-going scrubs

Bug #46275: Cancellation of on-going scrubs

Added by Radoslaw Zarzynski over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
Scrub/Repair
Target version:
-
Due date:
% Done:

0%

Source:
Community (dev)
Backport:
nautilus,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-3813-gd1a801e7d5
Released In:
v16.2.0~1878
Upkeep Timestamp:
2025-07-14T19:38:33+00:00

Description

Although it's possible to prevent initiating new scrubs, we don't have a facility for terminating already on-going ones:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-April/038488.html.

The problem pops up during maintenance of large deployments. Their huge size translates into small chance that all PGs are active+clean which affects e.g. upgrades. The ultimate outcome is unnecessary prolongation of maintenance windows.
The issue has been recently risen by Sergii Golovatiuk.


Related issues 5 (2 open — 3 closed)

Related to RADOS - Feature #41363: Allow user to cancel scrub requestsNewDavid Zafman

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

Actions
Related to RADOS - Bug #47767: octopus: setting noscrub crashed osd processResolvedDavid Zafman

Actions
Copied to RADOS - Backport #46706: nautilus: Cancellation of on-going scrubsResolvedDavid Zafman

Actions
Copied to RADOS - Backport #46707: octopus: Cancellation of on-going scrubsResolvedDavid Zafman

Actions

RZ Updated by Radoslaw Zarzynski over 6 years ago Actions #1

  • Description updated (diff)

NO Updated by Neha Ojha over 6 years ago Actions #2

  • Related to Feature #41363: Allow user to cancel scrub requests added

DZ Updated by David Zafman over 6 years ago Actions #3

  • Status changed from New to In Progress

DZ Updated by David Zafman over 6 years ago Actions #4

We may be able to easily terminate scrubbing in between chunks if the noscrub/nodeep-scrub get set.

I will test this.

DZ Updated by David Zafman over 6 years ago Actions #5

  • Assignee set to David Zafman

DZ Updated by David Zafman over 6 years ago Actions #6

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

DZ Updated by David Zafman over 6 years ago Actions #7

  • Pull request ID set to 35909

DZ Updated by David Zafman over 6 years ago Actions #8

  • Status changed from In Progress to Fix Under Review

NO Updated by Neha Ojha over 6 years ago Actions #9

  • Backport set to nautilus,octopus

DZ Updated by David Zafman over 6 years ago Actions #10

  • Status changed from Fix Under Review to Pending Backport

DZ Updated by David Zafman over 6 years ago Actions #11

  • Copied to Backport #46706: nautilus: Cancellation of on-going scrubs added

DZ Updated by David Zafman over 6 years ago Actions #12

  • Copied to Backport #46707: octopus: Cancellation of on-going scrubs added

NC Updated by Nathan Cutler over 6 years ago Actions #13

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

DZ Updated by David Zafman about 6 years ago Actions #14

  • Related to Bug #47767: octopus: setting noscrub crashed osd process added

UB Updated by Upkeep Bot over 1 year ago Actions #15

  • Merge Commit set to d1a801e7d5bac4ea6e2c3bd893b6f24b373e5888
  • Fixed In set to v16.0.0-3813-gd1a801e7d5
  • Released In set to v16.2.0~1878
  • Upkeep Timestamp set to 2025-07-14T19:38:33+00:00
Actions

Also available in: PDF Atom