Skip to content

storage: don't render sources for tables#12779

Merged
benesch merged 1 commit into
MaterializeInc:mainfrom
benesch:no-table-source-instances
May 31, 2022
Merged

storage: don't render sources for tables#12779
benesch merged 1 commit into
MaterializeInc:mainfrom
benesch:no-table-source-instances

Conversation

@benesch

@benesch benesch commented May 31, 2022

Copy link
Copy Markdown
Contributor

Since #12216, tables are now entirely handled by the controller. There
is no longer a need to send a CreateSourceCommand to the storaged
process for table sources.

We should eventually adjust the types here to enforce this statically,
but this quick fix will unblock #12770.

Motivation

  • This PR fixes a previously unreported bug.

Testing

  • This PR has adequate test coverage / QA involvement has been duly considered.

Release notes

This PR includes the following user-facing behavior changes:

  • n/a

Since MaterializeInc#12216, tables are now entirely handled by the controller. There
is no longer a need to send a `CreateSourceCommand` to the `storaged`
process for table sources.

We should eventually adjust the types here to enforce this statically,
but this quick fix will unblock MaterializeInc#12770.
@benesch benesch requested a review from petrosagg May 31, 2022 14:18
@benesch benesch marked this pull request as ready for review May 31, 2022 14:36
@benesch benesch enabled auto-merge (rebase) May 31, 2022 14:43
@benesch benesch merged commit 2a223f9 into MaterializeInc:main May 31, 2022
@benesch benesch deleted the no-table-source-instances branch May 31, 2022 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants