From 41f7062e259082c6209698a82e5ee72f93f620b0 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 20 Jul 2018 21:00:14 -0700 Subject: [PATCH] mds: remove ascii art version of mds state diagram Now refer to the user documentation. Any updates should go there! Signed-off-by: Patrick Donnelly --- src/mds/MDSMap.h | 29 +++++------------------------ 1 file changed, 5 insertions(+), 24 deletions(-) diff --git a/src/mds/MDSMap.h b/src/mds/MDSMap.h index c23e63498abd7..766593ac4aa39 100644 --- a/src/mds/MDSMap.h +++ b/src/mds/MDSMap.h @@ -36,29 +36,6 @@ #include "common/Formatter.h" #include "mds/mdstypes.h" -/* - - boot --> standby, creating, or starting. - - - dne ----> creating -----> active* - ^ ^___________/ / ^ ^ - | / / | - destroying / / | - ^ / / | - | / / | - stopped <---- stopping* <-/ / | - \ / | - ----- starting* ----/ | - | - failed | - \ | - \--> replay* --> reconnect* --> rejoin* - - * = can fail - -*/ - class CephContext; class health_check_map_t; @@ -78,7 +55,11 @@ class health_check_map_t; class MDSMap { public: /* These states are the union of the set of possible states of an MDS daemon, - * and the set of possible states of an MDS rank */ + * and the set of possible states of an MDS rank. See + * doc/cephfs/mds-states.rst for state descriptions, + * doc/cephfs/mds-state-diagram.svg for a visual state diagram, and + * doc/cephfs/mds-state-diagram.dot to update mds-state-diagram.svg. + */ typedef enum { // States of an MDS daemon not currently holding a rank // ==================================================== -- 2.39.5