bithw1 opened a new issue, #17795:
URL: https://github.com/apache/hudi/issues/17795

   ### Describe the problem you faced
   
   Hi,
   
   In BaseHoodieWriteClient.java, `autoCleanOnCommit`  will be called by 
`postWrite` during a normal insert operation:
   
   ```
   
     protected void autoCleanOnCommit() {
       
       if (!config.isAutoClean()) {
         return;
       }
   
       
       if (config.isAsyncClean()) {
         LOG.info("Async cleaner has been spawned. Waiting for it to finish");
   
         //aync run clean in separate thread pool, but will be blocked until 
clean is finished
         tableServiceClient.asyncClean();
         LOG.info("Async cleaner has finished");
       } else {
         LOG.info("Start to clean synchronously.");
        
        //call clean() directly in the current thread     
         clean();
       }
     }
   
   ```
   
   ### To Reproduce
   
   1.
   2.
   3.
   4.
   
   
   ### Expected behavior
   
   1
   
   ### Environment Description
   
   1
   
   ### Additional context
   
   _No response_
   
   ### Stacktrace
   
   ```shell
   
   ```


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