-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Lightning: Table Empty Check Cannot Find Imported Dirty Data on Previous Failed Imports #39477
Comments
/component lightning |
/severity moderate |
When lightning failed the first time, it should modify the checkpoint to an invalid state so the second import will report error at the beginning. Does this behaviour still work? |
It should have no problem. Because it is not related to the the checkpoint implementations. It is just a pre-check refinement. The current mechanism on checkpoints still applies. |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
The second import should not be allowed (if check-requirements is turned on ), because the table has actually imported some record data in the previous import.
3. What did you see instead (Required)
Seems the dirty data is still inside the table, and it cannot be cleared unless dropping the table and re-import again.
4. What is your TiDB version? (Required)
Latest master version
The text was updated successfully, but these errors were encountered: