Skip to content

fix(admin): report accurate heal stop status#238

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

fix(admin): report accurate heal stop status#238
overtrue wants to merge 1 commit into
mainfrom
overtrue/heal-status-info

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Related issue: Closes #234

Background: rc admin heal stop could report success while rc admin heal status still showed an active background heal state.

Solution: Map RustFS background heal status fields into CLI output, treat stale bitrotStartTime as legacy-only activity, and verify status after stop before reporting success.

Tests: cargo fmt --all --check; cargo clippy --workspace -- -D warnings; cargo test --workspace -- --test-threads=1; git diff --check.

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.

bug: can not stop heal

1 participant