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

Metadata fetched may be inconsistent #1009

Open
Lorak-mmk opened this issue Jun 6, 2024 · 0 comments
Open

Metadata fetched may be inconsistent #1009

Lorak-mmk opened this issue Jun 6, 2024 · 0 comments
Assignees
Milestone

Comments

@Lorak-mmk
Copy link
Collaborator

Fetching metadata requires multiple queries. If there is a schema change between those queries then we'll get inconsistent view of the metadata.
While this problem should be very rare, and in current implementation new metadata will be fetched after 60s anyway it's not that important, #1008 may make this problem worse.
The solution I see is to fetch schema version first, then fetch metadata and then fetch schema version again. If schema version didn't change then we have consistent view of metadata. If it did change then we can re-fetch the schema.

@Lorak-mmk Lorak-mmk self-assigned this Jun 6, 2024
@wprzytula wprzytula added this to the 0.14.0 milestone Jun 20, 2024
@wprzytula wprzytula modified the milestones: 0.14.0, 0.16.0 Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants