Project

General

Profile

Actions

Feature #61599

closed
MG MG

mon/MDSMonitor: optionally forbid to use standby for another fs as last resort

Feature #61599: mon/MDSMonitor: optionally forbid to use standby for another fs as last resort

Added by Mykola Golub over 3 years ago. Updated 3 months ago.

Status:
Backporting
Priority:
Normal
Assignee:
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Backport:
reef,quincy,pacific
Reviewed:
Affected Versions:
Component(FS):
MDSMonitor
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-5894-gf9a01cf385
Released In:
v19.2.0~1687
Upkeep Timestamp:
2026-08-27T17:05:44+00:00

Description

Currently if standby for current fs is not available the mon will look for standby for another fs. Although it makes sense for some users this behaviour may not be disarable.

Consider a situation with many fs volumes, each has active and standby mds. Then for one volume a corruption is introduced that makes the active mds to crash. The mon will chose all available standby mds until all them crash and after the systemd will disable mds restart due to frequent crashes we will endup with no standby mds available for any fs. Some users find this undesirable because:

1) a corruption on one fs potentially affect other fs
2) when an mds from another fs is used as active it may be confusing (e.g. it is difficult to find out for what fs an error is in the mds log)

So some users would prefer to disable this behavior, e.g. via a config or fs (fsmap) option.


Related issues 3 (1 open — 2 closed)

Copied to CephFS - Backport #62724: reef: mon/MDSMonitor: optionally forbid to use standby for another fs as last resortResolvedMykola Golub

Actions
Copied to CephFS - Backport #62725: pacific: mon/MDSMonitor: optionally forbid to use standby for another fs as last resortRejectedMykola Golub

Actions
Copied to CephFS - Backport #62726: quincy: mon/MDSMonitor: optionally forbid to use standby for another fs as last resortNeed More InfoVenky Shankar

Actions

MG Updated by Mykola Golub over 3 years ago Actions #1

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 51942

MG Updated by Mykola Golub over 3 years ago Actions #2

  • Backport set to reef,quincy,pacific

PD Updated by Patrick Donnelly over 3 years ago Actions #3

  • Tracker changed from Bug to Feature
  • Subject changed from Optionally forbid to use standby for another fs as last resort to mon/MDSMonitor: optionally forbid to use standby for another fs as last resort
  • Target version set to v19.0.0
  • Component(FS) MDSMonitor added

MG Updated by Mykola Golub about 3 years ago Actions #4

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot about 3 years ago Actions #5

  • Copied to Backport #62724: reef: mon/MDSMonitor: optionally forbid to use standby for another fs as last resort added

UB Updated by Upkeep Bot about 3 years ago Actions #6

  • Copied to Backport #62725: pacific: mon/MDSMonitor: optionally forbid to use standby for another fs as last resort added

UB Updated by Upkeep Bot about 3 years ago Actions #7

  • Copied to Backport #62726: quincy: mon/MDSMonitor: optionally forbid to use standby for another fs as last resort added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Merge Commit set to f9a01cf3851ffa2c51b5fb84e304c1481f35fe03
  • Fixed In set to v18.0.0-5894-gf9a01cf3851
  • Released In set to v19.2.0~1687
  • Upkeep Timestamp set to 2025-07-09T16:44:06+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Fixed In changed from v18.0.0-5894-gf9a01cf3851 to v18.0.0-5894-gf9a01cf385
  • Upkeep Timestamp changed from 2025-07-09T16:44:06+00:00 to 2025-07-14T19:10:20+00:00

UB Updated by Upkeep Bot 3 months ago Actions #11

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2025-07-14T19:10:20+00:00 to 2026-08-27T17:05:44+00:00
Actions

Also available in: PDF Atom