jugomezv commented on code in PR #9994: URL: https://github.com/apache/pinot/pull/9994#discussion_r1054699322
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/tablestate/TableStateUtils.java: ########## @@ -38,6 +38,40 @@ public class TableStateUtils { private TableStateUtils() { } + /** + * Returns all online segments for a given table. + * + * @param helixManager instance of Helix manager + * @param tableNameWithType table for which we are obtaining ONLINE segments + * + * @return List of ONLINE segment names. + */ + public static List<String> getTableOnlineSegments(HelixManager helixManager, String tableNameWithType) { Review Comment: done -- 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