You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "youngkermit8-coder (via GitHub)" <gi...@apache.org> on 2026/08/11 03:29:51 UTC
[I] [Studio][Bug] Derive healthy cluster count from dashboard status [rocketmq-dashboard]
youngkermit8-coder opened a new issue, #1568:
URL: https://github.com/apache/rocketmq-dashboard/issues/1568
## Problem
`RocketMQDashboardProvider` marks a cluster as `warning` when its master broker runtime metrics are unavailable, but `DashboardStatsVO.healthyClusters` is always set to `totalClusters`.
This makes the summary health count disagree with the per-cluster status and can report a failed/unreachable cluster as healthy.
## Reproduction
1. Return one cluster with one master broker from `examineBrokerClusterInfo()`.
2. Make `fetchBrokerRuntimeStats(masterAddr)` throw (for example, the broker is temporarily unavailable).
3. Call `getDashboardData()`.
Current result:
- the cluster overview status is `warning`;
- `totalClusters` is `1`;
- `healthyClusters` is also incorrectly `1`.
Expected result:
- `healthyClusters` is derived from the collected cluster statuses and is `0` in this case.
## Proposed fix
Count `ClusterStatus.healthy` entries after building the cluster overviews and add regression assertions for both the healthy and warning paths.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Derive healthy cluster count from dashboard status [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1568:
URL: https://github.com/apache/rocketmq-dashboard/issues/1568#issuecomment-5248863615
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The reported issue is valid. The Overview page always displays `healthyClusters === totalClusters` because the dashboard derives the healthy count from the same `brokerServers` map without checking individual broker health status.
**Root Cause:** `healthyClusters` is computed as a copy of `totalClusters` rather than being derived from actual broker health checks.
**Severity:** Medium — misleading operational visibility; operators cannot detect unhealthy clusters from the dashboard.
An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Derive healthy cluster count from dashboard status [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1568: [Studio][Bug] Derive healthy cluster count from dashboard status
URL: https://github.com/apache/rocketmq-dashboard/issues/1568
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Derive healthy cluster count from dashboard status [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1568:
URL: https://github.com/apache/rocketmq-dashboard/issues/1568#issuecomment-5723056076
This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org