Skip to content

Experimental support for distributing catalogs from coordinator to workers#13325

Merged
dain merged 10 commits intotrinodb:masterfrom
dain:coordinator-distributed-catalogs
Aug 12, 2022
Merged

Experimental support for distributing catalogs from coordinator to workers#13325
dain merged 10 commits intotrinodb:masterfrom
dain:coordinator-distributed-catalogs

Conversation

@dain
Copy link
Copy Markdown
Member

@dain dain commented Jul 23, 2022

Description

This adds experimental support for distributing catalog configurations from the coordinator to workers.

This works by attaching the configs for the used catalog in the query to worker task creation message. There is no way to remove (or add) catalogs at runtime, but that is ok since there are no commands to add or remove a catalog, which means there should never be a conflict. To try this out, set the following property:

catalog.management=dynamic

Related issues, pull requests, and links

This is a base feature for Dynamic Catalogs

Documentation

(X) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(X) No release notes entries required.
( ) Release notes entries required with the following suggested text:

@dain dain requested a review from electrum July 23, 2022 19:53
@cla-bot cla-bot bot added the cla-signed label Jul 23, 2022
@dain dain force-pushed the coordinator-distributed-catalogs branch 4 times, most recently from fcfb6b1 to 0324e6f Compare August 6, 2022 19:20
@dain dain force-pushed the coordinator-distributed-catalogs branch from 0324e6f to f63bd5e Compare August 11, 2022 18:46
@dain
Copy link
Copy Markdown
Member Author

dain commented Aug 12, 2022

Test failures in Iceberg are unrelated and reproducible on trunk

@dain dain merged commit 687bef3 into trinodb:master Aug 12, 2022
@github-actions github-actions bot added this to the 393 milestone Aug 12, 2022
@dain dain deleted the coordinator-distributed-catalogs branch August 12, 2022 01:45
@colebow
Copy link
Copy Markdown
Member

colebow commented Aug 15, 2022

Just confirming that we don't want this in release notes / docs yet. And is there a plan to eventually publicize it?

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