zhangyue19921010 opened a new pull request, #11230:
URL: https://github.com/apache/paimon/pull/11230

   ### Purpose
   
   If a clustering output writer fails to close, `clusterRewrite` skips 
`sorter.close()` and leaves its spill files behind. Use `IOUtils.closeAll` so 
sorter cleanup still runs and the original failure is retained.
   
   Fixes #11229.
   
   ### Tests
   
   A real bucketed append table regression injects an output-close IOException 
after spilling. On unchanged master, both synchronous and asynchronous cases 
leave 23 spill files; with the fix, the same checks pass. Healthy compaction 
controls verify all 600 IDs, healthy ID ordering and continued use of the 
shared IOManager.
   
   All 32 selected regression and neighboring clustering/append-writer tests 
passed with JDK 11 and normal Maven `verify` checks.
   


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