kaori-seasons opened a new pull request, #7393: URL: https://github.com/apache/gravitino/pull/7393
### What changes were proposed in this pull request? Related to [ISSUE#7370](https://github.com/apache/gravitino/issues/7370) ### Why are the changes needed? The solution solves the Metaspace OOM problem in the following ways: - ClassLoader reuse: Frequent ClassLoader creation in CatalogManager is replaced by a reuse mechanism managed by ClassLoaderPool - Smart update strategy: Distinguish between key attribute changes that require re-creation of catalog instances and ordinary attribute changes that can be hot-updated - Frequency limit: Prevent resource exhaustion caused by too frequent catalog operations - Resource monitoring: Provides indicator collection and monitoring capabilities to facilitate problem diagnosis - Lifecycle management: Improved resource management of CatalogWrapper in CatalogManager ### How was this patch tested? (Please test your changes, and provide instructions on how to test it: 1. If you add a feature or fix a bug, add a test to cover your changes. 2. If you fix a flaky test, repeat it for many times to prove it works.) -- 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]
