load 数据出现panic, tidb4.0.8

[2021/11/05 06:05:10.251 +00:00] [INFO] [load_data.go:426] [“batch limit hit when inserting rows”] [conn=5604254] [maxBatchRows=1024] [totalRows=40000]
[2021/11/05 06:05:10.308 +00:00] [ERROR] [load_data.go:225] [“CommitWork panicked”] [conn=5604254] [r={}] [stack=“github.com/pingcap/tidb/executor.(*LoadDataInfo).CommitWork.func1
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/load_data.go:227
runtime.gopanic
\t/usr/local/go/src/runtime/panic.go:679
runtime.goPanicIndex
\t/usr/local/go/src/runtime/panic.go:75
github.com/pingcap/tidb/executor.getKeysNeedCheckOneRow
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/batch_checker.go:107
github.com/pingcap/tidb/executor.getKeysNeedCheck
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/batch_checker.go:86
github.com/pingcap/tidb/executor.(*InsertValues).batchCheckAndInsert
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/insert_common.go:968
github.com/pingcap/tidb/executor.(*LoadDataInfo).CheckAndInsertOneBatch
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/load_data.go:441
github.com/pingcap/tidb/executor.(*LoadDataInfo).CommitOneTask
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/load_data.go:199
github.com/pingcap/tidb/executor.(*LoadDataInfo).CommitWork
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/executor/load_data.go:247
github.com/pingcap/tidb/server.(*clientConn).handleLoadData
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/server/conn.go:1253
github.com/pingcap/tidb/server.(*clientConn).handleQuery
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/server/conn.go:1376
github.com/pingcap/tidb/server.(*clientConn).dispatch
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/server/conn.go:985
github.com/pingcap/tidb/server.(*clientConn).Run
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/server/conn.go:772
github.com/pingcap/tidb/server.(*Server).onConn
\t/home/jenkins/agent/workspace/tidb_v4.0.8/go/src/github.com/pingcap/tidb/server/server.go:421”]
[2021/11/05 06:05:10.471 +00:00] [ERROR] [conn.go:1215] [“load data process stream error”] [conn=5604254] [error=“processStream forced to quit”]
[2021/11/05 06:05:10.471 +00:00] [WARN] [conn.go:759] [“read packet failed, close this connection”] [conn=5604254] [error=“[server:8052]invalid sequence 18 != 0”]

这个有什么参数可以调整吗?log1.err.tgz (1.2 MB)

用户推送数据一次大概4万条,就能把tidb打panic了。。。

看下监控是不是负载过高了

“batch limit hit when inserting rows”] [conn=5604254] [maxBatchRows=1024] [totalRows=40000]

这个问题有影响吗?

这个不会

那能看出来为什会panic吗?用户在导入数据

提供监控还有日志

上传了log,帮忙看下

和之前这个问题类似,4.0.13 应该修复了

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。