]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: remove ascii art version of mds state diagram 22996/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 21 Jul 2018 04:00:14 +0000 (21:00 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 24 Jul 2018 20:17:25 +0000 (13:17 -0700)
Now refer to the user documentation. Any updates should go there!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mds/MDSMap.h

index c23e63498abd703d1436e50220b02957c22a2636..766593ac4aa3920222ca54f197e4b38b96797de7 100644 (file)
 #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
     // ====================================================