mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-06 21:33:14 +00:00
fix(heal): report partial rename failures (#5355)
* fix(heal): report partial rename failures * fix(log-analyzer): track partial heal rename failures
This commit is contained in:
@@ -45,15 +45,15 @@ pub(super) fn rules() -> Vec<Rule> {
|
||||
)
|
||||
},
|
||||
Rule {
|
||||
anchors: strings(["all healed data rename attempts failed"]),
|
||||
anchors: strings(["heal rename incomplete"]),
|
||||
..base(
|
||||
"heal-rename-failed",
|
||||
P1Unavailable,
|
||||
"heal",
|
||||
"heal 数据落位失败",
|
||||
contains("all healed data rename attempts failed"),
|
||||
"heal 数据落位(rename)全部失败。",
|
||||
"检查盘写权限与空间。",
|
||||
contains("heal rename incomplete"),
|
||||
"heal 数据落位(rename)未在全部目标盘完成。",
|
||||
"检查失败目标盘的写权限与空间,修复后重跑 heal。",
|
||||
)
|
||||
},
|
||||
Rule {
|
||||
|
||||
@@ -177,7 +177,7 @@ fn every_rule_has_a_positive_sample() {
|
||||
msg("heal: latest metadata for b/o has no data_dir, cannot heal object data"),
|
||||
),
|
||||
("heal-all-writes-failed", msg("all drives had write errors, unable to heal b/o")),
|
||||
("heal-rename-failed", msg("all healed data rename attempts failed for b/o")),
|
||||
("heal-rename-failed", msg("heal rename incomplete: 1 of 2 targets committed for b/o")),
|
||||
(
|
||||
"heal-xlmeta-regen-failed",
|
||||
msg("heal_object: failed to regenerate recoverable xl.meta on disk"),
|
||||
|
||||
Reference in New Issue
Block a user