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
280
stars
85
forks
source link
dump pending on `SHOW TABLE STATUS FROM all_generate_column` #322
FLUSH TABLES WITH READ LOCK could block other sessions from executing SHOW TABLE STATUS. (Bug #31894662)
more info can be found in mysql8.0.23 release note
Question
i use
make integration_test
to run testbut dumpling pending on
begin to run Dump
for a long timeafter check the pprof, i found that current goroutine is working on
ListAllDatabasesTables
there is the
show processlist
resultand i found that mysql is wait
Waiting for commit lock
dumpling log
mysql8 log
but if i change mysql version to 5.7.x Tests can be run successfully