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


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/async/AsyncCleanerService.java:
##########
@@ -43,7 +43,7 @@ public class AsyncCleanerService extends 
HoodieAsyncTableService {
 
   protected AsyncCleanerService(BaseHoodieWriteClient writeClient) {
     super(writeClient.getConfig());
-    this.writeClient = writeClient;
+    this.writeClient = writeClient.createNewClient();

Review Comment:
   even if the fs view got updated, the cleaner should also work because it 
only cares about history commits/file slice version, so this fix might be 
unnecessary(Flink always uses the async cleaning in ingestion pipeline and we 
never got any issue 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