-
Notifications
You must be signed in to change notification settings - Fork 613
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
bug: batch query dropped table may get wrong result #7615
Comments
@Li0k @Little-Wallace @hzxa21 |
After discussing with zheng, some points were summarized
The above conclusion is not entirely correct, when using batch cluster, there may not be a local_state_store, all the data comes from committed_version, and this update is asynchronous, the catalog can not synchronously find the table has been deleted. |
It seems neither frontend nor compute node has a deterministic way to tell a table has been dropped, when serving a batch query. 😐 |
Can we store the list of table ids in hummock version and update the list atomically on table creation/drop? In this way, we know what tables are visible in every version/snapshot. |
One problem with this solution is,
|
Describe the bug
As mentioned in #5446
To be specific,
For example:
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: