Project

General

Profile

Feature #17852

mds: when starting forward scrub, return handle or stamp/version which caller can wait for

Added by John Spray almost 4 years ago. Updated 8 months ago.

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

0%

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

Description

Enable caller to kick off a scrub and later check completion (may just mean caller has to compare scrub stamps with a return value from the call to initialize scrub).

When doing this, also update the tests in test_forward_scrub to use this to wait for their scrubs to complete (currently there are some sleeps and some waits for cluster log messages in there).

History

#1 Updated by Patrick Donnelly over 2 years ago

  • Subject changed from When starting forward scrub, return handle or stamp/version which caller can wait for to mds: when starting forward scrub, return handle or stamp/version which caller can wait for
  • Assignee set to Patrick Donnelly
  • Target version changed from v12.0.0 to v14.0.0
  • Source changed from other to Development
  • Tags set to scrub
  • Backport set to luminous,mimic
  • Component(FS) MDS added

#2 Updated by Patrick Donnelly about 2 years ago

  • Assignee changed from Patrick Donnelly to Venky Shankar

#3 Updated by Patrick Donnelly over 1 year ago

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

#4 Updated by Patrick Donnelly 8 months ago

  • Status changed from New to Resolved
  • Backport deleted (luminous,mimic)

Also available in: Atom PDF