beyond1920 commented on code in PR #11445:
URL: https://github.com/apache/hudi/pull/11445#discussion_r1639300133


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/HoodieTable.java:
##########
@@ -713,11 +714,24 @@ private void 
deleteInvalidFilesByPartitions(HoodieEngineContext context, Map<Str
           final HoodieStorage storage = metaClient.getStorage();
           LOG.info("Deleting invalid data file=" + partitionFilePair);
           // Delete
-          try {
-            storage.deleteFile(new StoragePath(partitionFilePair.getValue()));

Review Comment:
   I think it's a bug, not matter whether enable 
`hoodie.filesystem.operation.retry.enable` or not, we should not allow delete 
the  file failed quietly, otherwise wrong result might happen.
   So change in `HoodieRetryWrapperFileSystem ` is not enough.



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