pingcap / dumpling

Dumpling is a fast, easy-to-use tool written by Go for dumping data from the database(MySQL, TiDB...) to local/cloud(S3, GCP...) in multifarious formats(SQL, CSV...).
Apache License 2.0
281 stars 85 forks source link

make dumpling adapted to old version TiDB problems #281

Closed lichunzhu closed 3 years ago

lichunzhu commented 3 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Old versions' TiDB has some bugs. Sometimes it's much easier to avoid these problems on dumpling rather than on TiDB.

Describe the feature you'd like:


wrong TiDB information.schema result

BUG: TiDB's information_schema.columns and information_schema.tables will miss some information if we drop <database> and then set a tidb_snapshot to dump dropped data. Affected version: TiDB v3.0.5 Fix PR:

IANTHEREAL commented 3 years ago

can we close it now?

lichunzhu commented 3 years ago

https://github.com/pingcap/dumpling/pull/305 has fixed this PR. Because we use show table status to replace intomation_schema.tables.