danny0405 commented on code in PR #12102:
URL: https://github.com/apache/hudi/pull/12102#discussion_r1841467026


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -921,6 +930,26 @@ private void initializeFileGroups(HoodieTableMetaClient 
dataMetaClient, Metadata
     }, fileGroupFileIds.size());
   }
 
+  /**
+   * Returns a log creation hook impl.
+   */
+  private LogFileCreationCallback getLogCreationCallback(HoodieStorage storage,
+                                                         String instantTime,
+                                                         String partitionPath,
+                                                         String fileId) {
+    return new LogFileCreationCallback() {
+      @Override
+      public boolean preFileCreation(HoodieLogFile logFile) {
+        WriteMarkers writeMarkers = new DirectWriteMarkers(

Review Comment:
   I can be merged now.



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