Airliquide76 commented on code in PR #9568: URL: https://github.com/apache/pinot/pull/9568#discussion_r1071082395
########## pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/purge/PurgeTaskGenerator.java: ########## @@ -92,26 +99,31 @@ public List<PinotTaskConfig> generateTasks(List<TableConfig> tableConfigs) { } else { tableMaxNumTasks = Integer.MAX_VALUE; } - List<SegmentZKMetadata> offlineSegmentsZKMetadata = _clusterInfoAccessor.getSegmentsZKMetadata(tableName); + List<SegmentZKMetadata> segmentsZKMetadata; Review Comment: It was right. I've removed wat was on function to get segment right on on the if section -- 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