]> git.proxmox.com Git - ceph.git/blame - ceph/doc/cephfs/mds-state-diagram.dot
import 15.2.5
[ceph.git] / ceph / doc / cephfs / mds-state-diagram.dot
CommitLineData
11fdf7f2
TL
1digraph {
2
3node [shape=circle,style=unfilled,fixedsize=true,width=2.0]
4
5node [color=blue,peripheries=1];
6N0 [label="up:boot"]
7
9f95a23c
TL
8node [color=green,peripheries=1];
9S1 [label="up:standby"]
10N0 -> S1 [color=green,penwidth=2.0];
11S2 [label="up:standby_replay"]
12S1 -> S2 [color=green,penwidth=2.0];
13
11fdf7f2
TL
14node [color=orange,peripheries=2];
15N1 [label="up:creating"]
9f95a23c 16S1 -> N1 [color=orange,penwidth=2.0];
11fdf7f2 17N2 [label="up:starting"]
9f95a23c 18S1 -> N2 [color=orange,penwidth=2.0];
11fdf7f2 19N3 [label="up:replay"]
9f95a23c
TL
20S1 -> N3 [color=orange,penwidth=2.0];
21S2 -> N3 [color=orange,penwidth=2.0];
11fdf7f2
TL
22N4 [label="up:resolve"]
23N3 -> N4 [color=orange,penwidth=2.0];
24N5 [label="up:reconnect"]
25N3 -> N5 [color=orange,penwidth=2.0];
26N4 -> N5 [color=orange,penwidth=2.0];
27N6 [label="up:rejoin"]
28N5 -> N6 [color=orange,penwidth=2.0];
29N7 [label="up:clientreplay"]
30N6 -> N7 [color=orange,penwidth=2.0];
31
32node [color=green,peripheries=2];
33S0 [label="up:active"]
34N7 -> S0 [color=green,penwidth=2.0];
35N1 -> S0 [color=green,penwidth=2.0];
36N2 -> S0 [color=green,penwidth=2.0];
37N6 -> S0 [color=green,penwidth=2.0];
11fdf7f2
TL
38
39// going down but still accessible by clients
40node [color=purple,peripheries=2];
41S3 [label="up:stopping"]
42S0 -> S3 [color=purple,penwidth=2.0];
43
44// terminal (but "in")
45node [shape=polygon,sides=6,color=red,peripheries=2];
46D0 [label="down:failed"]
47N2 -> D0 [color=red,penwidth=2.0];
48N3 -> D0 [color=red,penwidth=2.0];
49N4 -> D0 [color=red,penwidth=2.0];
50N5 -> D0 [color=red,penwidth=2.0];
51N6 -> D0 [color=red,penwidth=2.0];
52N7 -> D0 [color=red,penwidth=2.0];
53S0 -> D0 [color=red,penwidth=2.0];
54S3 -> D0 [color=red,penwidth=2.0];
55D0 -> N3 [color=red,penwidth=2.0];
56
57// terminal (but not "in")
58node [shape=polygon,sides=6,color=black,peripheries=1];
59D1 [label="down:damaged"]
60N3 -> D1 [color=black,penwidth=2.0];
61N4 -> D1 [color=black,penwidth=2.0];
62N5 -> D1 [color=black,penwidth=2.0];
63N6 -> D1 [color=black,penwidth=2.0];
64N7 -> D1 [color=black,penwidth=2.0];
65S0 -> D1 [color=black,penwidth=2.0];
66S3 -> D1 [color=black,penwidth=2.0];
67D1 -> D0 [color=red,penwidth=2.0]
68
69node [shape=polygon,sides=6,color=purple,peripheries=1];
70D3 [label="down:stopped"]
71S3 -> D3 [color=purple,penwidth=2.0];
72
73}