deepthi912 commented on code in PR #13296: URL: https://github.com/apache/pinot/pull/13296#discussion_r1719540250
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/PinotHelixResourceManager.java: ########## @@ -2798,6 +2801,26 @@ public Map<String, List<String>> getServerToSegmentsMap(String tableNameWithType return serverToSegmentsMap; } + /** + * Returns a map from server instance to count of segments it serves for the given table. Ignore OFFLINE segments from + * the ideal state because they are not supposed to be served. + */ + public Map<String, Integer> getServerToSegmentsCountMap(String tableNameWithType) { Review Comment: Using it for non detailed response. -- 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-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org