Project

General

Profile

Actions

Feature #12274

closed

Feature #44192: mds: stable multimds scrub

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

Added by John Spray almost 9 years ago. Updated over 3 years 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 1 (0 open1 closed)

Feature #4142: MDS: forward scrub: Implement cross-MDS scrubbingDuplicate02/14/2013

Actions

Related issues 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF