nsivabalan commented on code in PR #13064:
URL: https://github.com/apache/hudi/pull/13064#discussion_r2029484223


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieTableServiceClient.java:
##########
@@ -746,7 +747,7 @@ public HoodieCleanMetadata clean(String cleanInstantTime, 
boolean scheduleInline
       LOG.info("Cleaner started");
       // proceed only if multiple clean schedules are enabled or if there are 
no pending cleans.
       if (scheduleInline) {
-        scheduleTableServiceInternal(cleanInstantTime, Option.empty(), 
TableServiceType.CLEAN);
+        scheduleClean(cleanInstantTime);

Review Comment:
   this caller was not taking lock for schedule clean before this patch. I am 
standardizing all calls to scheduleClean to take locks in this patch. 



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