We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Considering the recent issue non-DXF ADD INDEX of a large table (trigger import due to disk quota) writes KV with TS = 0, it is essential to validate invariants before writing invalid keys to TiKV. This is particularly important for processes like Lightning and DDL imports, as these paths directly write to TiKV.
@Benjamin2037
The text was updated successfully, but these errors were encountered:
For the ingest way to write TiKV, we have added a client-side check at
tidb/pkg/lightning/backend/local/region_job.go
Lines 451 to 458 in df0c5d1
we will continue to add more invariants checks
Sorry, something went wrong.
where are you planning to add invariant checks. I think it should be at the lowest layer too : TiKV
Yes, currently we plan to add checks at many different layers:
No branches or pull requests
Enhancement
Considering the recent issue non-DXF ADD INDEX of a large table (trigger import due to disk quota) writes KV with TS = 0, it is essential to validate invariants before writing invalid keys to TiKV. This is particularly important for processes like Lightning and DDL imports, as these paths directly write to TiKV.
@Benjamin2037
The text was updated successfully, but these errors were encountered: