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


##########
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:
   Checked these two services, and the plan was scheduled ourside and enqueued 
through `HoodieAsyncService#enqueuePendingAsyncServiceInstant`, not sure why 
there are fs view in consistency issues here? Because the plan execution does 
not really access the fs view, just read the source files and write it out 
(with create handle).



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