tidb_mdl_view is not showing blocked ddl when ddl contains multiple table #47743
Labels
affects-7.5
This bug affects the 7.5.x(LTS) versions.
component/ddl
This issue is related to DDL of TiDB.
severity/major
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)
now query block
it's because we're not put all table id into
ddl_jobs
view asActionMultiSchemaChange
do:tidb/pkg/executor/executor.go
Line 492 in 3ef01b5
query using this sql, we can see the block, 122 is the table id of
t1
:2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v7.4.0
The text was updated successfully, but these errors were encountered: