feat: expose heal workload admission snapshot (#3605)

This commit is contained in:
安正超
2026-06-19 10:39:09 +08:00
committed by GitHub
parent 8cf3c0bfbd
commit 00ca3b7c1c
5 changed files with 180 additions and 10 deletions
@@ -59,3 +59,19 @@ The RustFS storage `ConcurrencyManager` now implements
This is an observation surface only. Permit acquisition, priority assignment,
buffer sizing, storage media detection, request guards, and queue behavior are
unchanged.
## Heal Repair Snapshot Extraction
The RustFS integration layer now exposes a read-only repair admission snapshot
from the heal runtime counters:
- `Repair` reports the current heal active task count.
- `queued` reports the current heal queue length.
- `limit` remains `None` because the configured heal queue and concurrency
limits live behind the async heal manager state.
- Other workload classes remain `Unknown` in this provider until their owning
runtime components expose read-only status.
This is an observation surface only. Heal request admission, queue capacity,
priority merge/drop policy, task scheduling, retry handling, and repair
behavior are unchanged.