Tikv 意外崩溃, 重启失败 panic_mark_file 总结篇

【 TiDB 使用环境】生产环境 /测试/ Poc
【 TiDB 版本】
【复现路径】做过哪些操作出现的问题

【遇到的问题:问题现象及影响】
1、tikv 无法重启
2、删除panic_mark_file文件重启任然失败

解决方案:先扩容tikv 实例到集群中,然后对坏掉的实例进行缩融;

【资源配置】进入到 TiDB Dashboard -集群信息 (Cluster Info) -主机(Hosts) 截图此页面
【附件:截图/日志/监控】
[2024/01/25 20:46:37.618 +08:00] [FATAL] [server.rs:405] [“panic_mark_file tidb/tidb-data/tikv-20160/panic_mark_file exists, there must be somethingwrong with the db. Do not remove the panic_mark_file and force the TiKV node to restart. Please contact TiKV maintainers to investigate the issue. If needed, use scale in and scale out to replace the TiKV node. https://docs.pingcap.com/tidb/stable/scale-tidb-using-tiup”]

日志里不是写了“Do not remove the panic_mark_file and force the TiKV node to restart.”

TiDB报错信息中包含解决方案这点,还是非常值得称赞和学习的! :+1:

1 个赞

Do not remove the panic_mark_file and force the TiKV node to restart

排查问题重要手段,日志

强制重启没啥用,强制重启会报错

强制重启 没什么用 我开 有前辈也是遇见过,重启,一出文件之类的 没什么用

日志写的蛮详细

又学到了

学习到了,mark

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