QuakeWang opened a new pull request, #14:
URL: https://github.com/apache/paimon-mosaic/pull/14

   `MosaicReader.open()` acquired the native reader handle before the Java 
wrapper finished constructing. If schema export/import failed in the 
constructor, object creation aborted and `close()` never ran, leaking the 
native handle.
   
   This change frees the native handle immediately when construction fails, 
then rethrows the original exception. A regression test covers the failure path.


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