Dumpling may get blocked when taskChan is full and cause connection timeout #36549
Labels
affects-6.0
affects-6.1
This bug affects the 6.1.x(LTS) versions.
affects-6.2
affects-6.3
component/dumpling
This is related to Dumpling of TiDB.
severity/moderate
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)
dump a lot of tables
2. What did you expect to see? (Required)
no error
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
root cause
tidb/dumpling/export/dump.go
Line 777 in 965454f
When
taskChan
is full dumpling will be blocked at sendTaskToChan. AndmetaConn
has a 15-minute read timeout, it will be closed.The text was updated successfully, but these errors were encountered: