TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Do a lightning import for 100 tables for examples
After 50 tables imported, lightning encountered an error like S3 access error and import table failed
Check lightning status
2. What did you expect to see? (Required)
When lightning import tables fails, lightning should exit.
3. What did you see instead (Required)
Currently, when lightning encountered an error in the middle, lighting will do checksum & analyze table for the tables which are already imported, before lightning exit. If there are lots of tables already imported, it could take lots of time, and not able to fail fast.
This is not good especially for DBaaS users, as in DBaaS scenario, user it not able to resume from checkpoint, so checksum & analyze table is a waste of time.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
6.0.0