You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "danny0405 (via GitHub)" <gi...@apache.org> on 2023/06/12 04:19:01 UTC
[GitHub] [hudi] danny0405 commented on a diff in pull request #8849: [HUDI-6304] Handle cases when inflight files are removed and job failed leaving pending rollback files
danny0405 commented on code in PR #8849:
URL: https://github.com/apache/hudi/pull/8849#discussion_r1226066053
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieTableServiceClient.java:
##########
@@ -704,6 +706,7 @@ && isIndexingCommit(instant.getTimestamp()))
protected Boolean rollbackFailedWrites() {
HoodieTable table = createTable(config, hadoopConf);
List<String> instantsToRollback = getInstantsToRollback(table.getMetaClient(), config.getFailedWritesCleanPolicy(), Option.empty());
+ removeInflightFilesAlreadyRolledBack(instantsToRollback, table.getMetaClient());
Review Comment:
Nice catch ~
--
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-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org