Ctrl+C can't make tidb exit with 1M tables using infoschema v2 #54589
Labels
component/statistics
feature/developing
the related feature is in development
severity/moderate
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
I'm using @@global.tidb_schema_cache_size = '512MB' and there are 1M tables.
Also the configuration
force-init-stats = false
Start TiDB and wait 4000 port ready.
Then Ctrl+C to exit tidb
2. What did you expect to see? (Required)
TiDB exit
3. What did you see instead (Required)
It takes 12m54s to exit!
pd service discovery and tso dispatcher exit after domain close
sql cpu collector and cgroup monitor exit after domain:
gc worker print such log every minute, it's not exited after receiving the signal:
The update stats worker exited immediately:
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: