senthh opened a new pull request, #13415:
URL: https://github.com/apache/hudi/pull/13415

   ### Change Logs
   
   Scanner resources not properly closed in HoodieCompact
   
   The scanner.close() is called in the happy path but may not be called if 
exceptions occur
   
   ### Impact
   
   It may lead-out to memory leak
   
   ### Risk level (write none, low medium or high below)
   
   Introduced try finally blocks and scanner.close() is called now inside 
finally block so that we can ensure scanner.close() will get called for sure
   
   ### Documentation Update
   
   NA
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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