mailtoboggavarapu-coder commented on PR #19861: URL: https://github.com/apache/hudi/pull/19861#issuecomment-5573065379
Pinging for committer review. `HoodieAvroDataBlock.decompress()` creates an `InflaterInputStream` but never closes it — the native zlib `Inflater` inside it leaks on every call since its native memory is not GC-managed. The sibling `compress()` method already uses try-with-resources correctly; this fix makes `decompress()` consistent with it. One file changed, no logic change. [@danny0405](https://github.com/danny0405) [@yihua](https://github.com/yihua) [@vinothchandrasekar](https://github.com/vinothchandrasekar) [@nsivabalan](https://github.com/nsivabalan) — would appreciate a review when you get a chance. Thanks! -- 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]
