Schema version update failure may cause DDL job to get stuck #43755
Labels
affects-6.5
affects-7.1
severity/major
sig/sql-infra
SIG: SQL Infra
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)
Import data using tidb-lightning while some tidb server is under high load. DDL task is found to be stuck and there are some warnings.
As seen in the DDL owner log, the above tidb server can't sync the schema version for many hours, and therefore unable to get the mdl lock. Check the logs and find no running transactions block DDL.
2. What did you expect to see? (Required)
DDL executes normally when there is no running transaction.
3. What did you see instead (Required)
DDL execution is stuck.
4. What is your TiDB version? (Required)
v6.5.2
The text was updated successfully, but these errors were encountered: