sketchmind commented on PR #10675:
URL: 
https://github.com/apache/dolphinscheduler/pull/10675#issuecomment-1179994987

   > > > LGTM, nit: the `overwrite` is not be used? it's better to implements 
this, if we set overwrite then delete the exist dstfile, if we don't set 
overwrite we don't delete the exist dstFile event it is a directly.
   > > 
   > > 
   > > Param overwrite is always true in 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread#downloadResource
 and the existence of the file has been handled in advance in 
org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread#downloadCheck,I
 think the overriding related processing logic should be kept. @SbloodyS 
suggested to remove this part considering the situation of task rerun,I don't 
know if it will affect the rerun, so I removed this part of the code
   > 
   > This should add a comment in the code to address the reason.
   @SbloodyS Could you give me the code location of the rerun, I'll see if it 
has any effect
   


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

Reply via email to