Open hawkingrei opened 5 months ago
let me research for the issue
/assign
i guest the DATA RACE occur when update TableCommon
such as https://github.com/pingcap/tidb/blob/cb237b6c8b9aa07a32da8745d495e3f58a38e00e/pkg/table/tables/tables.go#L361-L363
the domain will update TableCache
when drop index in this case, it will read the size of TableCommon
in
https://github.com/pingcap/tidb/blob/7b6294178af731384510c29afd2ff4b46b3c3426/pkg/infoschema/infoschema_v2.go#L399
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)