Commit 56f4994
### What changes were proposed in this pull request?
Introduce option to mark server unhealthy once any storage corrupted.
### Why are the changes needed?
For: #2241
This feature is to reduce the impact while the local directories are corrupted.
### Does this PR introduce _any_ user-facing change?
Yes.
`rss.server.health.markUnhealthyOnceStorageCorruption` is introduced, the default value is false that will not activate this feature by default.
### How was this patch tested?
Existing unit tests.
Co-authored-by: Junfan Zhang <zhangjunfan@qiyi.com>
1 parent 7ca0719 commit 56f4994
File tree
2 files changed
+20
-0
lines changed- server/src/main/java/org/apache/uniffle/server
2 files changed
+20
-0
lines changedLines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
179 | 183 | | |
180 | 184 | | |
181 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
270 | 277 | | |
271 | 278 | | |
272 | 279 | | |
| |||
0 commit comments