Unnecessary error logs when table statistics are locked and tidb_enable_historical_stats is on #57628
Labels
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.1
This bug affects the 8.1.x(LTS) versions.
affects-8.5
This bug affects the 8.5.x(LTS) versions.
component/statistics
severity/minor
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)
tidb_enable_historical_stats
lock stats table_name
2. What did you expect to see? (Required)
There are no error logs.
3. What did you see instead (Required)
There are a lot of logs saying that the stats meta is missing.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: