You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "mchades (via GitHub)" <gi...@apache.org> on 2026/01/04 02:34:17 UTC
Re: [PR] [#9586] improvement(core): optimize checking in use status of catalogs and metalakes [gravitino]
mchades commented on code in PR #9574:
URL: https://github.com/apache/gravitino/pull/9574#discussion_r2659274894
##########
api/src/main/java/org/apache/gravitino/Catalog.java:
##########
@@ -132,6 +132,12 @@ enum CloudName {
/** The property indicates the catalog is in use. */
String PROPERTY_IN_USE = "in-use";
+ /**
+ * This property indicates whether the metalake that contains this catalog is in use. When a
+ * metalake is disabled, this property is set to {@code false} on all its catalogs.
+ */
+ String PROPERTY_METALAKE_IN_USE = "metalake-in-use";
Review Comment:
If so, I would recommend placing the constant within the core module.
--
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: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org