csudharsanan opened a new issue, #2803: URL: https://github.com/apache/helix/issues/2803
### Describe the bug The metric "MissingTopState" is not being calculated (hence not reported) as an exception is thrown prior to metric calculation in the ResourceMonitor. https://github.com/linkedin/helix/blob/c480eac018932214886aaf55f3c28107d46e84b0/helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java#L279 Whenever the replica is set to ANY_LIVEINSTANCE, we encounter a NumberFormatException and return (as we try to get the replica count as Integer) before calculating rest of the metrics which includes the _numNonTopStatePartitions. ### To Reproduce Set replica to 'ANY_LIVEINSTANCE' ### Expected behavior _numNonTopStatePartitions reflecting right value when replica is set to ANY_LIVEINSTANCE. ### Additional context Add any other context about the problem here. -- 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: reviews-unsubscr...@helix.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@helix.apache.org For additional commands, e-mail: reviews-h...@helix.apache.org