File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,29 @@ flowchart TB
51
51
sub4 --yes-->sub5["`Remove Child
52
52
DID and Replicas`"]
53
53
end
54
-
54
+
55
55
sub4 --"no"--> f
56
56
sub5--> f
57
57
```
58
58
59
- ![ Undertaker chart] ( /img/undertaker.png )
60
59
61
- ![ Reaper chart] ( /img/reaper.png )
60
+ ``` mermaid
61
+ graph TD
62
+
63
+ R((Reaper)) --> RSEs[Get all RSEs]
64
+ RSEs --> D1{RSE.availability_delete}
65
+ D1--"False"--> f([Finished])
66
+ D1--"True"--> Greedy_RSE{Greedy RSE?}
67
+
68
+ %% Non-greedy RSE Logic
69
+ Greedy_RSE--"no"--> MinFreeSpace{Min free space <= Actual Free Space}
70
+ MinFreeSpace--"no"--> f
71
+ MinFreeSpace--"yes"--> i[List replicas with tombstones] --> id4[Apply LRU algorithm to replicas]
72
+ id4 --> RemoveReplicas[Remove replicas]
73
+
74
+ %% Greedy RSE Logic
75
+ Greedy_RSE--"yes" --> j[List replicas with tombstones] --> RemoveReplicas --> f
76
+
77
+
78
+ ```
79
+
You can’t perform that action at this time.
0 commit comments