the-other-tim-brown commented on code in PR #13422:
URL: https://github.com/apache/hudi/pull/13422#discussion_r2143759909
##########
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:
If the cleaner plan executes quickly, you will likely avoid the issue. The
async-cleaner gets started in the `preWrite`, if we have the plan generate
synchronously and the actual cleaning happen asynchronously (similar to other
async services) then the problem is avoided entirely.
--
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]