mqliang commented on a change in pull request #7265:
URL: https://github.com/apache/pinot/pull/7265#discussion_r685579634



##########
File path: 
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/BaseMultipleSegmentsConversionExecutor.java
##########
@@ -152,6 +145,15 @@ protected void postProcess(PinotTaskConfig 
pinotTaskConfig) {
         }
       }
 
+      // Delete the input segments
+      // NOTE: Delete the input segments after tarring the converted segments 
to avoid deleting the converted segment
+      //       when the conversion happens in-place

Review comment:
       +1 to better describe what "in-place" means: conversion task have the 
same original_segments/converted_segment  dir, thus delete the  
original_segments dir will also delete the converted_segment dir. LGTM 
otherwise.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to