wForget opened a new pull request, #2811:
URL: https://github.com/apache/uniffle/pull/2811

   ### What changes were proposed in this pull request?
   
   Release the destination buffer in `DecompressionWorker` when 
`codec.decompress()` throws, then rethrow the original failure to the existing 
exception handler. Successful decompression continues to transfer buffer 
ownership to the consumer.
   
   ### Why are the changes needed?
   
   The worker allocates a destination buffer before decompression. Previously, 
a decompression failure left the direct buffer without explicit cleanup, 
relying on JVM reclamation. Repeated failures could therefore cause 
direct-memory pressure and contribute to YARN killing executor containers for 
exceeding physical memory limits.
   
   This change addresses cleanup on the failure path; it does not establish the 
root cause of the decompression errors.
   
   ### Does this PR introduce any user-facing change?
   
   No
   
   ### How was this patch tested?
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to