Project

General

Profile

Fix #10862

MDSMonitor: do not try and "deactivate" the last MDS

Added by Greg Farnum over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/12/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:

Description

STATE_STOPPING makes the MDS try and export its data to another MDS, but for the final MDS there's no target for offloading and it just spins. We should prevent the MDSMonitor from accepting deactivate commands on the only MDS remaining in a cluster.

Associated revisions

Revision a2867987 (diff)
Added by John Spray over 4 years ago

mon: do not try and "deactivate" the last MDS

Fixes: #10862
Signed-off-by: John Spray <>

Revision 75d8c011 (diff)
Added by John Spray over 4 years ago

mon: do not try and "deactivate" the last MDS

Fixes: #10862
Signed-off-by: John Spray <>
(cherry picked from commit a2867987bc561479733839c3891fa14bfcebb849)

History

#1 Updated by John Spray over 4 years ago

  • Status changed from New to Need Review

#2 Updated by Greg Farnum over 4 years ago

  • Status changed from Need Review to Resolved

#3 Updated by Greg Farnum over 4 years ago

  • Status changed from Resolved to Pending Backport

This was a small patch and will make life simpler for Hammer, can you backport too please.

#4 Updated by John Spray over 4 years ago

  • Status changed from Pending Backport to Need Review

#5 Updated by Greg Farnum over 4 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF