Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CatalogStoreManager to load all catalog stores #23115

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

hashhar
Copy link
Member

@hashhar hashhar commented Aug 23, 2024

Built on top of #22886 so only review commits AFTER "Allow using custom catalog store with TestingTrinoServer"

Description

Before this change we bound file and memory catalog stores directly instead of using the SPI we provide which meant that we had no test coverage for the SPI itself and that the built-in ones were treated differently.

Additional context and related issues

Built on top of #22886 so only review last 2 commits.

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

# General
* For file-based catalog store the relevant configuration now needs to be done in `etc/catalog-store.properties` instead of `config.properties`. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Aug 23, 2024
@hashhar hashhar force-pushed the hashhar/catalog-store-loader branch 2 times, most recently from 02322ff to 2ec5788 Compare August 26, 2024 13:35
@hashhar hashhar marked this pull request as ready for review August 26, 2024 13:37
Copy link
Member

@dain dain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this

@hashhar hashhar force-pushed the hashhar/catalog-store-loader branch from 2ec5788 to 33cf060 Compare August 27, 2024 19:50
This change makes the CatalogStoreManager handle IOException when reading config files similar to other managers like AccessControlManager.
@hashhar hashhar force-pushed the hashhar/catalog-store-loader branch from 33cf060 to d1b4e72 Compare August 27, 2024 19:50
@hashhar
Copy link
Member Author

hashhar commented Aug 27, 2024

Rebased on master after merging #22886. Will merge once CI is done.

@hashhar hashhar merged commit b194155 into trinodb:master Aug 28, 2024
96 checks passed
@hashhar hashhar deleted the hashhar/catalog-store-loader branch August 28, 2024 12:04
@github-actions github-actions bot added this to the 455 milestone Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants