Stats loaded from json file have wrong status #42931
Labels
affects-5.0
This bug affects 5.0.x versions.
affects-5.1
This bug affects 5.1.x versions.
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects the 5.4.x(LTS) versions.
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
affects-7.0
component/statistics
severity/major
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)
Start a v4.0.15 cluster
Get stats json file
test_t_stats.json
through http api.Start a v6.5.1 cluster
2. What did you expect to see? (Required)
Since no stats are collected, columns
a
andb
should not appear inshow stats_histograms
.3. What did you see instead (Required)
Since no stats are collected, columns
a
andb
appear inshow stats_histograms
and their status isallEvicted
.4. What is your TiDB version? (Required)
v6.5.1
The text was updated successfully, but these errors were encountered: