RockteMQ-AI commented on issue #186:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/186#issuecomment-5547871722

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The Cluster page statistics (Today Produce Count / Today Consume Count) are 
incorrectly inflated by dashboard query operations. This is a known issue in 
the dashboard's statistics collection logic.
   
   **Root Cause:** The dashboard's Cluster page fetches broker stats via 
`BrokerController.getBrokerStatsManager()`, which internally increments 
consumption counters when querying message details. The Message search/query 
operations trigger consumer offset updates that get counted as "consumed" 
messages, inflating the Today Consume Count.
   
   **Impact:** The Cluster page statistics become unreliable after any message 
query operation. In multi-broker setups, the multiplication effect suggests the 
stats API is being called per-broker and aggregating incorrectly.
   
   **Note:** This issue has been open since Nov 2023 and marked stale. A fix 
would need to separate read-only statistics queries from actual consumption 
tracking in the dashboard's API calls.
   
   ---
   *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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to