Skip to content

feat(admin): expose background heal task status#237

Open
overtrue wants to merge 1 commit into
mainfrom
overtrue/heal-status-info-233
Open

feat(admin): expose background heal task status#237
overtrue wants to merge 1 commit into
mainfrom
overtrue/heal-status-info-233

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Fixes #233. Background: heal status could show in progress while counters stayed zero, leaving no visible task context. Root cause: the background heal status response only mapped bitrotStartTime and ignored scan mode, queue length, and active task fields from RustFS. Solution: map those fields into HealStatus, display scan/task context in human and JSON output, update output_v2 schema, and keep legacy responses compatible. Tests: cargo fmt --all --check; cargo clippy --workspace -- -D warnings; cargo test --workspace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add more info about heal items and data

1 participant