kbuci commented on code in PR #18295:
URL: https://github.com/apache/hudi/pull/18295#discussion_r2944123215


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriterTableVersionSix.java:
##########
@@ -279,7 +286,11 @@ void compactIfNecessary(BaseHoodieWriteClient<?,I,?,O> 
writeClient, Option<Strin
         LOG.info("Log compaction with same {} time is already present in the 
timeline.", logCompactionInstantTime);
       } else if 
(writeClient.scheduleLogCompactionAtInstant(logCompactionInstantTime, 
Option.empty())) {
         LOG.info("Log compaction is scheduled for timestamp {}", 
logCompactionInstantTime);
-        writeClient.logCompact(logCompactionInstantTime, true);
+        if (tsmConfig.isEnabledAndActionSupported(ActionType.logcompaction)) {
+          LOG.info("Skipping execution of log compaction on MDT as it is 
delegated to table service manager.");
+        } else {
+          writeClient.logCompact(logCompactionInstantTime, true);
+        }

Review Comment:
   Sure updated config documentation



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