donPain opened a new pull request, #16044:
URL: https://github.com/apache/iceberg/pull/16044

   Operators in the Flink dynamic sink pipeline (DynamicTableUpdateOperator, 
DynamicRecordProcessor, DynamicWriteResultAggregator, TableSerializerCache) 
load a catalog via CatalogLoader but never close it. When the catalog is a 
RESTCatalog backed by S3FileIO, this leaks HTTP clients, S3 clients, and other 
resources held by the catalog's CloseableGroup.
   
   Fix each operator to close its catalog on shutdown if it implements 
Closeable. For TableSerializerCache, cache the catalog instance to avoid 
creating a new (leaked) catalog on every serializer update.
   
   Add tests for operator lifecycle with both Closeable and non-Closeable 
catalogs, and an integration test with RESTCatalog + S3FileIO.


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