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

Race Condition in Schema Register #4751

Open
agavra opened this issue Mar 10, 2020 · 0 comments
Open

Race Condition in Schema Register #4751

agavra opened this issue Mar 10, 2020 · 0 comments
Labels

Comments

@agavra
Copy link
Contributor

agavra commented Mar 10, 2020

At the moment, the rest-server will create the schema when it ensures the topics exist. This is done by building the logical plan from for the query using the snapshot of the metastore. However, it's possible that when the command is actually executed that one or more of the sources in the metastore have changed. This could result in a different schema - one out of whack with the schema in the SR!

See discussion for why we decided to commit anyway knowing this bug exists: #4717 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant