fix(s3): resume in-flight GET streams after rebalance relocation (#5791)

* fix(s3): resume in-flight GET streams after rebalance relocation

* fix(s3): address GET resume review findings

---------

Co-authored-by: zhengsf <zhengsf@kaopucloud.com>
Co-authored-by: houseme <housemecn@gmail.com>
Co-authored-by: cxymds <cxymds@gmail.com>
Co-authored-by: 马登山 <cxymds@qq.com>
This commit is contained in:
DIO
2026-08-07 17:59:44 +08:00
committed by GitHub
parent 58d4bdc79f
commit a5c8052163
5 changed files with 1795 additions and 159 deletions
+5
View File
@@ -857,6 +857,11 @@ if rg -n -U '(info|warn)!\(\s*target: "rustfs::heal::manager",[\s\S]{0,1000}"Hea
exit 1
fi
if rg -n -U 'info!\([\s\S]{0,1000}"GetObject streaming body resumed from a reopened object read"' rustfs/src/app/object_usecase.rs >/dev/null; then
echo "❌ logging guardrail violation: successful per-object GetObject resume events must stay below INFO" >&2
exit 1
fi
demoted_task_sites="$(rg -c -F 'demote_to_debug_when!(self.heal_type.is_per_object()' crates/heal/src/heal/task.rs || echo 0)"
if [[ "$demoted_task_sites" -lt 4 ]]; then
echo "❌ logging guardrail violation: per-object heal task lifecycle/failure logs must stay demoted to DEBUG via demote_to_debug_when! (expected >= 4 sites in crates/heal/src/heal/task.rs, found $demoted_task_sites)" >&2