为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【TiDB 版本】
Release Version: 4.0.8
Edition: Community
Git Commit Hash: 83091173e960e5a0f5f417e921a0801d2f6635ae
Git Commit Branch: heads/refs/tags/v4.0.8
UTC Build Time: 2020-10-30 08:40:33
Rust Version: rustc 1.42.0-nightly (0de96d37f 2019-12-19)
Enable Features: jemalloc mem-profiling portable sse protobuf-codec
Profile: dist_release
【问题描述】
网页反馈很慢
排查中发现备份dumping还在执行。
上去查processlist ,发现有三条SQL执行了快6个小时
SELECT * FROM `xxx`.`xxx` ORDER BY _tidb_rowid; SELECT * FROM `xxx`.`xxxx` ORDER BY _tidb_rowid; SELECT * FROM `xxxx`.`xxxx` ORDER BY _tidb_rowid;
后面程序报错日志方面有一些信息、分别是
General error: 8027 Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV
General error: 1105 tikv aborts txn: Txn(Mvcc(PessimisticLockNotFound { start_ts: TimeStamp(425152128067829769), key:
kill掉备份之后,三条SQL消失,但网页慢问题还存在。
从监控上看,响应时间也很长
于是重启一台tikv 节点后,故障恢复
想问一下如果是因为备份引起的,我kill掉之后为什么没有回复呢? 以后遇到这种问题的话一定要重启TIKV节点吗?
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。