tonymtu opened a new pull request, #9528:
URL: https://github.com/apache/paimon/pull/9528

   ### Purpose
   
   `RESTTokenFileIO` uses a cache with a fixed maximum size of 1000. When the 
cache reaches this limit, a `FileIO` that is still in use may be evicted and 
closed prematurely.
   
   This PR adds `RESTTokenFileIO#setFileIOCacheMaximumSize(long)`, allowing 
applications to configure the cache size during initialization according to 
their workloads.
   
   To keep this change focused, this PR does not introduce reference counting 
or change the `FileIO` lifecycle management.
   
   ### Tests
   
   Added a unit test to verify that the maximum cache size can be updated.


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