yuqi1129 commented on PR #9574: URL: https://github.com/apache/gravitino/pull/9574#issuecomment-3695346965
@jerryshao After discussion with @mchades offline, we have reached a primary agreement that we can do the following modification to optimize excessive calling of `catalogInUse` and `metalakeInUse` - Store the metalake `in-use` information in catalogs. If the value of `in-use` is changed, then all information about it in catalogs belongs to this metalake should also be changed. - Move the check logic to the initialization of the catalog operations, and this check only needs to be done once and there is no need to operate the check in every operation such as `loadTable`, `createSchema`. -- 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]
