Skip to content

fix(admin): stabilize pool status and disk indexes#231

Merged
overtrue merged 1 commit into
mainfrom
overtrue/fix-pool-status-error
Jun 13, 2026
Merged

fix(admin): stabilize pool status and disk indexes#231
overtrue merged 1 commit into
mainfrom
overtrue/fix-pool-status-error

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Related issues: Fixes #229 and Fixes #230. Background: pool status behind HAProxy could return node-dependent pool lists, and cluster info displayed all disk locations as pool:0 set:0 disk:0. Root cause: no-target pool status used the node-local pool list endpoint, and disk location indexes from cluster info used snake_case fields that were not accepted by the client model. Solution: use cluster info pool metrics for no-target pool status, preserve targeted pool status and pool list routes, and accept snake_case disk location indexes from the server response. Validation: cargo fmt --all; cargo fmt --all --check; cargo clippy --workspace -- -D warnings; cargo test --workspace.

@overtrue overtrue marked this pull request as ready for review June 13, 2026 02:18
@overtrue overtrue merged commit 5fcaa12 into main Jun 13, 2026
15 checks passed
@overtrue overtrue deleted the overtrue/fix-pool-status-error branch June 13, 2026 02:18
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: pool info is incorrect in rc admin info cluster xxx bug: rc pool status error

1 participant