Project

General

Profile

Actions

Feature #3857

closed

mds: enforce unique mds names in mdsmap

Added by Sage Weil over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Currently mds's are uniquely identified by their addr (i.e., a unique instance of the process). The name is useful only as a convenient identifier.

Instead, (optionally) enforce that mds's in the mdsmap have unique names. When an mds boots/joins, any previous mds with the same name is failed and booted.

This makes the names a bit less confusing. It also means that if you restart a daemon, it immediately takes over for its previous instantiation without having to wait for the beacon to time out.

OTOH, if there are two mds's with the same name due to a misconfiguration, they will fight each other.

Actions #1

Updated by Sage Weil over 11 years ago

see wip-mds-names

Actions #2

Updated by Sage Weil over 11 years ago

  • Translation missing: en.field_position set to 27
Actions #3

Updated by Sage Weil over 11 years ago

  • Translation missing: en.field_position deleted (27)
  • Translation missing: en.field_position set to 28
Actions #4

Updated by Sage Weil about 11 years ago

  • Status changed from Fix Under Review to Resolved

commit:c8f090aed96d615b081f5b9aa36c74092371ae1e

Actions

Also available in: Atom PDF