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

Some tables may not be physically dropped on TiFlash #8395

Closed
JaySon-Huang opened this issue Nov 20, 2023 · 0 comments · Fixed by #8422
Closed

Some tables may not be physically dropped on TiFlash #8395

JaySon-Huang opened this issue Nov 20, 2023 · 0 comments · Fixed by #8422

Comments

@JaySon-Huang
Copy link
Contributor

JaySon-Huang commented Nov 20, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. Apply the following three DDLs quickly
  2. Create a table on tidb
  3. Add tiflash for the table
  4. drop the table

There is a chance that the drop table is executed on TiFlash before the IStorage instance is actually created by applying snapshot.
Then the information that the table has been dropped is missed on the TiFlash instance and its related data can not be physically dropped.

This can be workaround by restarting TiFlash, which will re-sync all table info from TiDB. And it will mark the table as tombstones at that time.

logging from testing pipeline : table_id_571.log

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

https://github.com/pingcap/tiflash/tree/5ba01c04abc057f376eb71c8598cab65bc711460

ti-chi-bot bot pushed a commit that referenced this issue Nov 30, 2023
JaySon-Huang added a commit to ti-chi-bot/tiflash that referenced this issue Nov 30, 2023
ti-chi-bot bot pushed a commit that referenced this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant