You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Loyal-Young (via GitHub)" <gi...@apache.org> on 2026/10/20 08:17:08 UTC
[I] [Bug] Large consumer queue inventories crash health diagnostics [rocketmq-dashboard]
Loyal-Young opened a new issue, #7242:
URL: https://github.com/apache/rocketmq-dashboard/issues/7242
## Problem
The consumer-group health diagnostic uses `Math.min(...positive)` and `Math.max(...knownQueueLags)` on the full queue-progress inventory. JavaScript engines limit the number of arguments to a function call. A group with many topics and queues can therefore make the detail panel throw `RangeError: Maximum call stack size exceeded` rather than showing its health summary.
The Apache provider returns the complete `ConsumeStats` offset table for a group, so the web diagnostic has no page bound on this input.
## Reproduction
Pass 150,000 available queue-progress rows to `analyzeConsumerGroupHealth`; the existing `lagSkewRatio` fails at `Math.min(...positive)`. The same spread pattern appears in the summary maximums for queue lag and heartbeat age.
## Expected
Compute minima and maxima by iteration so the diagnostic remains linear in the number of rows and does not depend on a JavaScript engine's function-argument limit.
--
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] [Bug] Large consumer queue inventories crash health diagnostics [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #7242:
URL: https://github.com/apache/rocketmq-dashboard/issues/7242#issuecomment-6417081051
Resolved by #7245 (merged into rocketmq-studio as 09def4364).
--
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] [Bug] Large consumer queue inventories crash health diagnostics [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #7242: [Bug] Large consumer queue inventories crash health diagnostics
URL: https://github.com/apache/rocketmq-dashboard/issues/7242
--
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