Project

General

Profile

Actions

Bug #46275

closed

Cancellation of on-going scrubs

Added by Radoslaw Zarzynski almost 4 years ago. Updated over 3 years ago.

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

0%

Source:
Community (dev)
Tags:
Backport:
nautilus,octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 open3 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 ZafmanActions
Copied to RADOS - Backport #46707: octopus: Cancellation of on-going scrubsResolvedDavid ZafmanActions
Actions #1

Updated by Radoslaw Zarzynski almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Neha Ojha almost 4 years ago

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

Updated by David Zafman almost 4 years ago

  • Status changed from New to In Progress
Actions #4

Updated by David Zafman almost 4 years ago

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

I will test this.

Actions #5

Updated by David Zafman almost 4 years ago

  • Assignee set to David Zafman
Actions #6

Updated by David Zafman almost 4 years ago

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

Updated by David Zafman almost 4 years ago

  • Pull request ID set to 35909
Actions #8

Updated by David Zafman almost 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #9

Updated by Neha Ojha almost 4 years ago

  • Backport set to nautilus,octopus
Actions #10

Updated by David Zafman almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #11

Updated by David Zafman almost 4 years ago

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

Updated by David Zafman almost 4 years ago

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

Updated by Nathan Cutler over 3 years ago

  • 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".

Actions #14

Updated by David Zafman over 3 years ago

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

Also available in: Atom PDF