diqiu50 opened a new pull request, #12547: URL: https://github.com/apache/gravitino/pull/12547
### What changes were proposed in this pull request? Record the registration state of every catalog and the health of the load loop, and expose both through two system tables: `gravitino.system.catalog_status` and `gravitino.system.load_status`. Errors now report the root cause rather than the outer wrapper, and the stored procedures carry that reason too. ### Why are the changes needed? A catalog that fails to register produces no user-visible error and never appears in `SHOW CATALOGS`. The only way to find out why is to read the coordinator log. Fix: #12546 ### Does this PR introduce _any_ user-facing change? Two new system tables, documented in `docs/trino-connector/supported-catalog.md` along with a troubleshooting section. No configuration or API changes. ### How was this patch tested? Unit and query-level tests covering every status, loop failures and page rendering; the suite passes on Trino 435 through 478. Integration test `jdbc-mysql/00015_catalog_status` verifies both tables against a real Gravitino server and Trino container. -- 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]
