the-other-tim-brown commented on code in PR #13422:
URL: https://github.com/apache/hudi/pull/13422#discussion_r2143745051
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/async/AsyncClusteringService.java:
##########
@@ -103,6 +103,12 @@ protected Pair<CompletableFuture, ExecutorService>
startService() {
* Update the write client to be used for clustering.
*/
public synchronized void updateWriteClient(BaseHoodieWriteClient
writeClient) {
- this.clusteringClient.updateWriteClient(writeClient);
+ this.clusteringClient.updateWriteClient(writeClient.createNewClient());
Review Comment:
The issue looks like it is only for the async cleans since cleaning does not
separate planning and execution. I think if we can separate these for the async
cleaning case, we can avoid the extra embedded timeline service.
--
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]