yuqi1129 commented on code in PR #10480:
URL: https://github.com/apache/gravitino/pull/10480#discussion_r3026367502
##########
core/src/main/java/org/apache/gravitino/Configs.java:
##########
@@ -190,6 +190,31 @@ private Configs() {}
.booleanConf()
.createWithDefault(true);
+ public static final ConfigEntry<Boolean> CATALOG_CLASSLOADER_SHARING_ENABLED
=
+ new ConfigBuilder("gravitino.catalog.classloader.sharing.enabled")
+ .doc(
+ "Whether to share ClassLoaders across catalogs with identical
isolation-relevant "
+ + "properties. When true (default), catalogs with the same
isolation key reuse "
+ + "a single ClassLoader, significantly reducing Metaspace
memory usage. When "
+ + "false, each catalog gets its own dedicated ClassLoader as
in previous "
+ + "releases.")
+ .version(ConfigConstants.VERSION_1_2_0)
Review Comment:
The version should be 1.3.0(next major version).
--
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]