nsivabalan commented on code in PR #9468:
URL: https://github.com/apache/hudi/pull/9468#discussion_r1303181318
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/clean/CleanActionExecutor.java:
##########
@@ -278,4 +280,14 @@ public HoodieCleanMetadata execute() {
// This requires the CleanActionExecutor to be refactored as
BaseCommitActionExecutor
return cleanMetadataList.size() > 0 ?
cleanMetadataList.get(cleanMetadataList.size() - 1) : null;
}
+
+ private void checkIfOtherWriterCommitted(HoodieInstant hoodieInstant,
HoodieIOException e) {
+ table.getMetaClient().reloadActiveTimeline();
+ if
(table.getCleanTimeline().filterCompletedInstants().containsInstant(hoodieInstant.getTimestamp()))
{
+ LOG.warn("Clean operation was completed by another writer for instant: "
+ hoodieInstant);
+ } else {
+ LOG.warn("Failed to perform previous clean operation, instant: " +
hoodieInstant, e);
Review Comment:
LOG.error()
--
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]