codope commented on code in PR #12369:
URL: https://github.com/apache/hudi/pull/12369#discussion_r1863516660


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/index/IndexingCatchupTaskFactory.java:
##########
@@ -36,11 +38,14 @@ public static IndexingCatchupTask 
createCatchupTask(List<HoodieIndexPartitionInf
                                                       
HoodieTableMetadataWriter metadataWriter,
                                                       List<HoodieInstant> 
instantsToIndex,
                                                       Set<String> 
metadataCompletedInstants,
-                                                      HoodieTableMetaClient 
metaClient,
+                                                      HoodieTable table,
                                                       HoodieTableMetaClient 
metadataMetaClient,
                                                       String 
currentCaughtupInstant,
                                                       TransactionManager 
transactionManager,
                                                       HoodieEngineContext 
engineContext) {
+    HoodieTableMetaClient metaClient = table.getMetaClient();
+    HoodieHeartbeatClient heartbeatClient = new 
HoodieHeartbeatClient(table.getStorage(), metaClient.getBasePath().toString(), 
table.getConfig().getHoodieClientHeartbeatIntervalInMs(),

Review Comment:
   yes, moved there.



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