Project

General

Profile

Actions

Feature #17834

closed

MDS Balancer overrides

Added by John Spray over 7 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
% Done:

0%

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

Description

(Discussion from November 2016 meeting https://docs.google.com/a/redhat.com/document/d/11-O8uHWmOCqyc2_xGIukL0myjnqTfHZj3lc7xTBlQsY/edit?usp=sharing)

Motivation: provide an alternative to the automatic metadata balancing, so that users can get the benefit of spreading metadata across their cluster even if the automatic balancer algorithm isn't working well for their use case.

The idea is to add a vxattr that users can set on directories, which specifies that subtree splits should not happen beneath this directory, and what MDS rank should be used as the authority for this directory.

Various areas of code will need to pay attention to this:

  • When seeing a directory with an override, if it is set to a rank other than myself, export it
  • When considering a subtree split, look at ancestors and don't split if any have an override
  • Regularly scan the subtree roots to see if any of them have an ancestor with an override (in case something got split/migrated before the user set an override on its ancestor), probably at same frequency as balancing.
  • Ensure that export_targets includes the places we have exported directories with overrides, not just places we send things with the balancer.
Actions #1

Updated by John Spray over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Patrick Donnelly over 7 years ago

  • Assignee set to Patrick Donnelly
Actions #3

Updated by Patrick Donnelly almost 7 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Patrick Donnelly almost 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Patrick Donnelly about 5 years ago

  • Category deleted (90)
  • Labels (FS) multimds added
Actions

Also available in: Atom PDF