btlqql opened a new pull request, #2359:
URL: https://github.com/apache/rocketmq-dashboard/pull/2359

   ## Summary
   
   - calculate today's Apache broker message count from the current and 
midnight cumulative counters
   - clamp backwards counter pairs and ignore missing, negative, or malformed 
values
   - add regression coverage for multiple masters and invalid counter data
   
   ## Root cause
   
   `totalMessagesToday` added `msgPutTotalTodayMorning` directly. That field is 
the cumulative counter snapshot at midnight; the produced-message count for the 
current day is the difference between `msgPutTotalTodayNow` and that snapshot.
   
   Closes #2347
   
   ## Validation
   
   - `mvn -B -ntp -Dtest=RocketMQDashboardProviderTest test` (24 tests passed)
   - `mvn -B -ntp checkstyle:check` (0 violations)
   - `git diff --check`


-- 
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