Skip to content

Conversation

@bkirwi
Copy link
Contributor

@bkirwi bkirwi commented Oct 31, 2025

These are effectively never used in prod - we always have at least one set of schema ids available in practice - and once we stop asserting the schemas on handle creation, this would let us write batches that don't match the shard schema.

Motivation

Partial fix for https://github.com/MaterializeInc/database-issues/issues/9874 - that particular issue is only possible when we fall back on these defaults due to the lazy schema registration.

These are effectively never used in prod - we always have at least one
set of schemas available in practice - and once we stop asserting the
schemas on handle creation, this would let us write batches that don't
match the shard schema.
This has long been the default in every env.
Better than dropping them on the floor!
@bkirwi bkirwi marked this pull request as ready for review October 31, 2025 19:03
@bkirwi bkirwi requested review from a team as code owners October 31, 2025 19:03
@bkirwi bkirwi requested a review from teskje October 31, 2025 19:03
Copy link
Contributor

@teskje teskje left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

3 participants