snleee commented on code in PR #9825:
URL: https://github.com/apache/pinot/pull/9825#discussion_r1026920136


##########
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/BaseMultipleSegmentsConversionExecutor.java:
##########
@@ -242,6 +256,10 @@ public List<SegmentConversionResult> 
executeTask(PinotTaskConfig pinotTaskConfig
             new 
BasicHeader(FileUploadDownloadClient.CustomHeaders.SEGMENT_ZK_METADATA_CUSTOM_MAP_MODIFIER,
                 segmentZKMetadataCustomMapModifier.toJsonString());
 
+        URI outputSegmentTarURI = 
moveSegmentToOutputPinotFS(pinotTaskConfig.getConfigs(), 
convertedTarredSegmentFile);
+        LOGGER.info("Moved generated segment from [{}] to location: [{}]",

Review Comment:
   We should not assume that the later retry will always come to finish this 
particular task. Similarly, the controller can be down and fail the metadata 
update. If the controller recovery happens after the minion's retry attempt 
fails, I think that this will cause some files to sit at the deep storage.



-- 
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

Reply via email to