Project

General

Profile

Feature #12274

Feature #44192: mds: stable multimds scrub

mds: start forward scrubs from all subtree roots, skip non-auth metadata

Added by John Spray over 5 years ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
fsck/damage handling
Target version:
% Done:

100%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
scrub
Pull request ID:

Description

This is the basic principle that allows scrubs across multiple MDSs: everyone takes responsibility for their own subtrees, and stops at subtree boundaries.

Modify scrub initiating commands such that instead of the input path causing us to acting on the named dentry, they act on any subtrees within the path specified. So if I had a subtree situation like this:
MDS A: /foo /foo/bar/baz
MDS B: /foo/bar

Then a scrub initiated on MDS A for path "/foo" would find both subtrees and start scrubs from the root of both, rather than just from the /foo subtree.


Subtasks

Feature #4142: MDS: forward scrub: Implement cross-MDS scrubbingDuplicate


Related issues

Related to CephFS - Bug #43483: mds: reject forward scrubs when cluster has multiple active MDS (more than one rank) Resolved

History

#1 Updated by Greg Farnum over 4 years ago

  • Category changed from fsck/damage handling to 90
  • Component(FS) MDS added

#2 Updated by Douglas Fuller over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Douglas Fuller

#3 Updated by Douglas Fuller over 4 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by John Spray about 4 years ago

  • Target version set to v12.0.0

Using this ticket to track the task of implementing cross-MDS forward scrub (i.e. handing off at subtree bounds)

#5 Updated by Patrick Donnelly almost 3 years ago

  • Subject changed from Start forward scrubs from all subtree roots, skip non-auth metadata to mds: start forward scrubs from all subtree roots, skip non-auth metadata
  • Category changed from 90 to fsck/damage handling
  • Status changed from Fix Under Review to In Progress
  • Target version changed from v12.0.0 to v14.0.0
  • Source changed from other to Development
  • Tags set to scrub
  • Backport set to mimic

#6 Updated by Patrick Donnelly almost 2 years ago

  • Target version changed from v14.0.0 to v15.0.0

#7 Updated by Patrick Donnelly about 1 year ago

  • Related to Bug #43483: mds: reject forward scrubs when cluster has multiple active MDS (more than one rank) added

#8 Updated by Patrick Donnelly 12 months ago

  • Status changed from In Progress to New
  • Assignee deleted (Douglas Fuller)
  • Target version changed from v15.0.0 to v16.0.0
  • Tags deleted (scrub)
  • Backport deleted (mimic)
  • Labels (FS) scrub added

#9 Updated by Patrick Donnelly 11 months ago

  • Parent task set to #44192

#10 Updated by Patrick Donnelly 2 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Zheng Yan
  • Pull request ID set to 35749

#11 Updated by Patrick Donnelly 2 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF